Function at 0x404030
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes

Disassembly:
mov eax, 0x1c40
call fcn.0041f870
mov dl, byte [0x4488a8]
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x449]
mov byte [esp + 0x448], dl
mov byte [esp + 0x48], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x440b28]
mov ecx, 0x3f
mov dword [esp + 0x248], eax
xor eax, eax
lea edi, [esp + 0x24c]
mov ebx, dword [esp + 0x1c54]
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ebx - 9]
mov esi, ecx
mov edi, str.logon.txt
add esi, edx
mov ecx, 9
xor eax, eax
mov dword [esp + 0x24], ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x4040de
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.logon.inp
mov esi, ecx
mov ecx, 9
add esi, edx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x1c], ebp
jne 0x4040e6
mov dword [esp + 0x1c], 1
mov al, byte [0x448678]
test al, al
je 0x4040ff
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
cmp eax, ebp
je 0x404103
mov dword [esp + 0x18], ebp
push 0x100
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.004166c0
mov al, byte [esp + 0x54]
add esp, 0xc
test al, al
lea esi, [esp + 0x48]
je 0x404135
push eax
call fcn.004030d0
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x404122
mov edx, dword [0x447a10]
lea ecx, [esp + 0x48]
push 0x100
push ecx
push edx
call fcn.004166c0
mov esi, dword [0x447a10]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jle 0x404180
mov dl, byte [esi + eax]
cmp dl, 0x2f
je 0x404171
cmp dl, 0x5c
jne 0x40417b
mov byte [esi + eax], 0x2e
mov esi, dword [0x447a10]
inc eax
cmp eax, ecx
jl 0x404164
mov eax, dword [0x447e38]
cmp eax, ebp
je 0x40430c
cmp dword [eax + 0x5ebc], ebp
je 0x40430c
push 0x4463c5
mov byte [0x4463c4], 0x4e
call fcn.004147d0
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x200
push str.p_alia__name
push str.Get_alias_file_name
sub eax, ecx
push 0x440ae4
push eax
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.0041f19c
mov ecx, dword [0x447a10]
push 0x4463c4
push ecx
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.00414880
mov eax, dword [0x447e38]
add esp, 0x20
mov cl, byte [eax + 0x5ec0]
lea edi, [eax + 0x5ec0]
test cl, cl
je 0x4042f8
mov ax, word [0x440ae0]
mov edx, dword [str.hh.mm]
mov word [esp + 0x14], ax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], edx
mov word [esp + 0x16], bp
lea edx, [esp + 0x548]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dx, word [0x4463c8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x4463c5]
push str.time
mov word [esp + 0x18], cx
lea ecx, [esp + 0x550]
push ecx
mov word [esp + 0x1f], dx
call fcn.00417780
lea edx, [esp + 0x554]
push 0x4409c4
push edx
call fcn.0041f85a
mov esi, eax
add esp, 0x14
cmp esi, ebp
je 0x40430c
push esi
push 0x4463c4
call fcn.0041f6fc
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x4463c3], 0xa
je 0x4042ed
push esi
push 0x440ad0
call fcn.0041f6fc
add esp, 8
push esi
call fcn.0041f74a
add esp, 4
jmp 0x40430c
mov eax, dword [eax + 0x72b4]
push 0x4463c4
push eax
call fcn.00408560
add esp, 8
push 0x44877c
mov ecx, 0x446830
call fcn.00416260
test al, al
je 0x40433e
mov ecx, dword [0x44877c]
push 0x100
add ecx, 0x100
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.004166c0
add esp, 0xc
lea eax, [esp + 0x48]
push 0x3a
push eax
call fcn.0041f640
add esp, 8
cmp eax, ebp
jne 0x40435e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c40
ret
inc eax
push 0x200
lea ecx, [esp + 0x84c]
push eax
push ecx
call fcn.004166c0
mov edx, dword [0x447c50]
push 0x100
add edx, 0x104
lea eax, [esp + 0x158]
push edx
push eax
call fcn.004166c0
mov al, byte [esp + 0x160]
add esp, 0x18
cmp al, 0x20
je 0x4043a3
test al, al
jne 0x4043dd
push 0x100
push str.TEMP
call fcn.0041f0fe
add esp, 4
lea ecx, [esp + 0x14c]
push eax
push ecx
call fcn.004166c0
push 0x100
lea edx, [esp + 0x158]
push 0x440ac0
push edx
call fcn.00416770
add esp, 0x18
lea eax, [esp + 0x148]
push eax
call fcn.00403660
push 0xd
lea ecx, [esp + 0x50]
push str.sapwr_client
push ecx
call fcn.0041f530
add esp, 0x10
test eax, eax
jne 0x4044b3
lea edx, [esp + 0x55]
push 0x100
lea eax, [esp + 0x24c]
push edx
push eax
call fcn.004166c0
lea ecx, [esp + 0x254]
push 0x3a
push ecx
call fcn.0041f640
add esp, 0x14
cmp eax, ebp
je 0x404436
mov byte [eax], 0
lea edx, [esp + 0x248]
push 0x2c
push edx
call fcn.0041f640
add esp, 8
cmp eax, ebp
je 0x40444f
mov byte [eax], 0
mov esi, 0x440aac
lea eax, [esp + 0x248]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x404483
test cl, cl
je 0x40447f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x404483
add eax, 2
add esi, 2
test cl, cl
jne 0x40445b
xor eax, eax
jmp 0x404488
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x4044ee
cmp dword [esp + 0x1c], ebp
je 0x40449f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c40
ret
push 0x100
lea eax, [esp + 0x24c]
push 0x44806c
push eax
jmp 0x4044e6
mov ecx, dword [0x447e38]
cmp dword [ecx + 0x4768], ebp
je 0x4044ee
cmp dword [esp + 0x1c], ebp
je 0x4044d4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c40
ret
push 0x100
lea edx, [esp + 0x24c]
push 0x44806c
push edx
call fcn.004166c0
add esp, 0xc
push 0x100
call fcn.0041e270
push eax
lea eax, [esp + 0x350]
push eax
call fcn.004166c0
add esp, 0xc
push 0x100
call fcn.0041e280
lea ecx, [esp + 0x74c]
push eax
push ecx
call fcn.004166c0
lea edx, [esp + 0x354]
push 0x440aa8
push edx
call fcn.0041f950
add esp, 0x14
test eax, eax
je 0x404585
lea eax, [esp + 0x348]
push 0x440aa4
push eax
call fcn.0041f950
add esp, 8
test eax, eax
je 0x404585
lea ecx, [esp + 0x348]
push 0x440aa0
push ecx
call fcn.0041f950
add esp, 8
test eax, eax
je 0x404585
lea edx, [esp + 0x348]
push 0x440a9c
push edx
call fcn.0041f950
add esp, 8
test eax, eax
jne 0x4045b6
mov edi, 0x440a98
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x348]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xb
lea eax, [esp + 0x4c]
push str.sapwr_dest
push eax
call fcn.0041f530
add esp, 0xc
test eax, eax
jne 0x4046a9
lea edi, [esp + 0x53]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x448]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x3a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44c]
push ecx
call fcn.0041f640
add esp, 8
cmp eax, ebp
je 0x404611
mov byte [eax], 0
lea edx, [esp + 0x448]
lea eax, [esp + 0x848]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x348]
push eax
lea edx, [esp + 0x44c]
push ecx
mov ecx, dword [0x446604]
lea eax, [esp + 0x150]
push edx
push eax
push str._sGuiXT_Cache_sapwr_dest_s_s_s
add ecx, 0x108
push 0x100
push ecx
call fcn.0041f19c
mov al, byte [esp + 0x764]
add esp, 0x1c
test al, al
je 0x404722
lea edx, [esp + 0x848]
lea eax, [esp + 0x748]
push edx
lea ecx, [esp + 0x44c]
push eax
mov eax, dword [0x446604]
lea edx, [esp + 0x150]
push ecx
push edx
push str._sGuiXT_Cache_sapwr_dest_s_s_s
add eax, 0x108
push 0x100
push eax
call fcn.0041f19c
add esp, 0x1c
jmp 0x404722
lea ecx, [esp + 0x848]
lea edx, [esp + 0x348]
push ecx
mov ecx, dword [0x446604]
lea eax, [esp + 0x14c]
push edx
push eax
push str._sGuiXT_Cache_sapwr_s_s
add ecx, 0x108
push 0x100
push ecx
call fcn.0041f19c
mov al, byte [esp + 0x760]
add esp, 0x18
test al, al
je 0x404722
lea edx, [esp + 0x848]
lea eax, [esp + 0x748]
push edx
mov edx, dword [0x446604]
lea ecx, [esp + 0x14c]
push eax
push ecx
push str._sGuiXT_Cache_sapwr_s_s
add edx, 0x108
push 0x100
push edx
call fcn.0041f19c
add esp, 0x18
lea edi, [esp + 0x148]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x446604]
not ecx
dec ecx
lea eax, [ecx + eax + 0x108]
mov cl, byte [eax]
test cl, cl
je 0x40476a
cmp cl, 0x2f
jne 0x40474d
mov byte [eax], 0x5c
cmp byte [eax], 0x5c
jne 0x404762
mov cl, byte [eax + 1]
cmp cl, 0x5c
je 0x40475f
cmp cl, 0x2f
jne 0x404762
mov byte [eax], 0x2e
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404745
cmp dword [esp + 0x18], ebp
je 0x40495b
mov ecx, dword [0x446604]
push 0x100
add ecx, 0x108
lea edx, [esp + 0x54c]
push ecx
push edx
call fcn.004166c0
lea eax, [esp + 0x554]
push 0x5c
push eax
call fcn.0041f920
mov ebp, eax
mov edi, str.GuiXT_Scripts_Version
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
lea ebx, [ebp + 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x548]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x448678
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x548]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4048d0
or ecx, eax
mov edi, 0x440a1c
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x28]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x2c]
mov byte [ecx + ebp + 1], al
mov ecx, 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea ecx, [esp + 0x54c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], 0x14
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, str.GuiXT_Scripts_Version
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x548]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x448678
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x446604]
lea eax, [esp + 0x548]
push 0x100
add ecx, 0x108
push eax
push ecx
call fcn.004166c0
lea edx, [esp + 0x854]
push 0x5c
push edx
call fcn.0041f920
add esp, 0x14
xor ebp, ebp
cmp eax, ebp
push 0x100
jne 0x404945
mov eax, dword [0x446604]
push 0x440a18
add eax, 0x108
push eax
call fcn.00416770
mov edx, dword [0x446604]
lea ecx, [esp + 0x854]
push 0x100
add edx, 0x108
push ecx
push edx
call fcn.00416770
add esp, 0x18
jmp 0x40495d
push eax
mov eax, dword [0x446604]
add eax, 0x108
push eax
call fcn.00416770
add esp, 0xc
jmp 0x40495d
xor ebp, ebp
mov edx, dword [0x446604]
lea ecx, [esp + 0x48]
push 0x100
push ecx
push edx
call fcn.004166c0
mov esi, dword [0x446604]
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x404995
push eax
call fcn.004030d0
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x404982
push 0x448778
mov ecx, 0x447930
call fcn.00416260
mov ebx, dword [esp + 0x1c5c]
test al, al
je 0x404a16
mov eax, dword [0x448778]
cmp dword [eax + 0x100], ebp
je 0x404351
cmp dword [eax + 0x104], ebp
je 0x404351
mov ecx, dword [0x447e38]
cmp dword [ecx + 0x108], ebp
je 0x404a16
cmp ebx, ebp
je 0x4049f5
add eax, 0x108
push eax
call fcn.00403df0
add esp, 4
test eax, eax
je 0x404a16
mov eax, dword [0x448778]
mov edx, dword [esp + 0x1c58]
add eax, 0x108
push edx
push eax
call fcn.0041f85a
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c40
ret
cmp dword [esp + 0x18], ebp
je 0x404b63
cmp ebx, ebp
je 0x404a3f
mov eax, dword [0x446604]
add eax, 0x108
push eax
call fcn.00403df0
add esp, 4
test eax, eax
je 0x404b63
mov edx, dword [0x446604]
mov ecx, dword [esp + 0x1c58]
add edx, 0x108
push ecx
push edx
call fcn.0041f85a
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x404b63
cmp ebx, ebp
je 0x404ac4
mov al, byte [0x4488a8]
mov ecx, 0x3ff
mov byte [esp + 0xc50], al
xor eax, eax
lea edi, [esp + 0xc51]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc54]
push 0x1000
push ecx
stosb byte es:[edi], al
call fcn.0041f7c7
push esi
lea edx, [esp + 0xc60]
push 0x1000
push edx
call fcn.0041f7c7
mov cl, byte [esp + 0xc68]
add esp, 0x18
xor eax, eax
test cl, cl
setne al
mov edi, eax
jmp 0x404ad7
push esi
call fcn.0041f90f
add esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
push esi
call fcn.0041f74a
add esp, 4
cmp edi, ebp
je 0x404b35
mov eax, dword [0x446604]
mov edx, dword [esp + 0x1c58]
add eax, 0x108
push edx
push eax
call fcn.0041f85a
mov ecx, dword [0x446604]
mov esi, eax
mov eax, 1
add esp, 8
mov dword [ecx + 0x100], eax
mov edx, dword [0x446604]
mov ecx, 0x447930
mov dword [edx + 0x104], eax
call fcn.00416390
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c40
ret
mov eax, dword [0x446604]
mov dword [eax + 0x100], ebp
mov ecx, dword [0x446604]
mov dword [ecx + 0x104], ebp
mov ecx, 0x447930
call fcn.00416390
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c40
ret
mov edx, dword [0x446604]
add edx, 0x108
push edx
call fcn.00403fa0
mov eax, dword [0x447e38]
add esp, 4
cmp eax, ebp
je 0x404d05
cmp dword [eax + 0x5ebc], ebp
je 0x404d05
push 0x4463c5
mov byte [0x4463c4], 0x4e
call fcn.004147d0
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x200
push str.sapfilename
push str.RFC_Download_from_R_3_Web_Repository
sub eax, ecx
push 0x440ae4
push eax
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.0041f19c
lea ecx, [esp + 0x85c]
push 0x4463c4
push ecx
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4463c4
push ecx
call fcn.00414880
mov eax, dword [0x447e38]
add esp, 0x20
mov cl, byte [eax + 0x5ec0]
lea edi, [eax + 0x5ec0]
test cl, cl
je 0x404cf1
mov ax, word [0x440ae0]
mov edx, dword [str.hh.mm]
mov word [esp + 0x14], ax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], edx
mov word [esp + 0x16], bp
lea edx, [esp + 0x548]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dx, word [0x4463c8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x4463c5]
push str.time
mov word [esp + 0x18], cx
lea ecx, [esp + 0x550]
push ecx
mov word [esp + 0x1f], dx
call fcn.00417780
lea edx, [esp + 0x554]
push 0x4409c4
push edx
call fcn.0041f85a
mov esi, eax
add esp, 0x14
cmp esi, ebp
je 0x404d05
push esi
push 0x4463c4
call fcn.0041f6fc
mov edi, 0x4463c4
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x4463c3], 0xa
je 0x404ce6
push esi
push 0x440ad0
call fcn.0041f6fc
add esp, 8
push esi
call fcn.0041f74a
add esp, 4
jmp 0x404d05
mov eax, dword [eax + 0x72b4]
push 0x4463c4
push eax
call fcn.00408560
add esp, 8
mov esi, dword [0x446604]
mov edx, dword [esp + 0x1c60]
mov ecx, 0x82
lea edi, [esp + 0xa48]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
lea eax, [esp + 0x248]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ebx
push eax
lea edx, [esp + 0x858]
push ecx
mov ecx, dword [0x447cac]
lea eax, [esp + 0xb64]
push edx
push eax
push ecx
mov dword [esp + 0x40], ebp
call fcn.0041e290
mov edi, dword [0x446604]
add esp, 0x20
mov ecx, 0x82
lea esi, [esp + 0xa48]
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x404dee
cmp dword [esp + 0x20], ebp
je 0x404d82
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c40
ret
cmp dword [esp + 0x18], ebp
je 0x404dbf
mov edx, dword [0x446604]
push 0x4409e0
add edx, 0x108
push edx
call fcn.0041f85a
push eax
call fcn.0041f74a
add esp, 0xc
cmp ebx, ebp
je 0x404dbf
mov eax, dword [0x446604]
add eax, 0x108
push eax
call fcn.00403ca0
add esp, 4
mov ecx, dword [0x446604]
mov dword [ecx + 0x100], ebp
mov edx, dword [0x446604]
mov ecx, 0x447930
mov dword [edx + 0x104], ebp
call fcn.00416390
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c40
ret
mov ecx, dword [0x446604]
mov eax, 1
mov dword [ecx + 0x100], eax
mov edx, dword [0x446604]
mov ecx, 0x447930
mov dword [edx + 0x104], eax
call fcn.00416390
cmp ebx, ebp
je 0x404e2c
mov eax, dword [0x446604]
add eax, 0x108
push eax
call fcn.00403ca0
add esp, 4
mov edx, dword [0x446604]
mov ecx, dword [esp + 0x1c58]
add edx, 0x108
push ecx
push edx
call fcn.0041f85a
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c40
ret