Function at 0x40fc40
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47fc53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd24
mov eax, dword [esp + 0xd38]
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
cmp eax, esi
push edi
mov dword [esp + 0x1c], ebx
jne 0x40ff88
push esi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x2ac]
push esi
push 0x67
rep stosd dword es:[edi], eax
push 0x49df74
call fcn.00408020
mov eax, dword [0x4aaa88]
push esi
push fcn.00408020
push eax
call fcn.0043f9a0
push 0x4aaa8c
lea ecx, [esp + 0x20]
call fcn.00463025
push str.configloadctrl.ini
lea ecx, [esp + 0x20]
mov dword [esp + 0xd40], esi
call fcn.00463393
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.0045fabd
add esp, 8
test eax, eax
je 0x40fce8
push 0x4aa680
lea ecx, [esp + 0x20]
call fcn.00463140
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xd44]
push esi
push edx
mov edx, dword [0x4aaa88]
lea eax, [ebx + 4]
push ebp
lea ecx, [esp + 0x2b4]
push eax
push ecx
push edx
call fcn.00440180
cmp eax, esi
mov dword [esp + 0x18], eax
jle 0x40fd57
mov ecx, dword [ebx + 0x90]
xor esi, esi
add ecx, eax
mov dword [ebx + 0x90], ecx
mov eax, dword [0x4ab3ac]
test eax, eax
jle 0x40fd5e
xor edi, edi
mov ecx, dword [0x4ab3a8]
push 0x49e9e4
lea ecx, [edi + ecx + 0x50]
call fcn.00463140
mov eax, dword [0x4ab3ac]
inc esi
add edi, 0xd8
cmp esi, eax
jl 0x40fd31
jmp 0x40fd5e
mov ecx, ebx
call fcn.0040f110
mov eax, dword [esp + 0x2ac]
xor ebx, ebx
cmp eax, ebx
jbe 0x40ff5d
lea edx, [esp + 0x2b4]
push ebx
push edx
call fcn.0045fabd
add esp, 8
test eax, eax
jne 0x40ff5d
mov al, byte [0x4aa84c]
test al, al
jne 0x40fdf2
lea edi, [esp + 0x2b4]
or ecx, 0xffffffff
xor eax, eax
push 0x4aa84c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x4aa84c
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, str..txt
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x4aa84c
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045fb2d
add esp, 4
push 0x49e9e0
push 0x4aa84c
call fcn.0044d7eb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40ff5d
push ebp
push str._s:_n
push esi
call fcn.0044e4a2
lea eax, [esp + 0x2c0]
push 0x49ce00
push eax
call fcn.0044d7eb
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
je 0x40ff54
test byte [ebp + 0xc], 0x10
jne 0x40ff4b
push ebp
lea ecx, [esp + 0x438]
push 0x3ff
push ecx
mov byte [esp + 0x440], 0
call fcn.0044e5a6
add esp, 0xc
lea edi, [esp + 0x434]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x433], 0xd
je 0x40fe97
lea edi, [esp + 0x434]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x433], 0xa
jne 0x40feb1
lea edi, [esp + 0x434]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x433], al
jmp 0x40fe61
mov al, byte [esp + 0x434]
test al, al
je 0x40fecd
lea edx, [esp + 0x434]
push esi
push edx
call fcn.0044d76c
add esp, 8
lea eax, [esp + 0x28]
lea ecx, [esp + 0x434]
push eax
push 0x49ccd4
push ecx
mov dword [esp + 0x34], ebx
call fcn.0044e46e
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x40ff35
lea edx, [esp + 0x434]
push 0x3ff
push edx
push eax
mov byte [esp + 0x440], 0
call fcn.00443b40
mov al, byte [esp + 0x434]
test al, al
je 0x40ff35
push esi
push 0x49e9d4
call fcn.0044d76c
lea eax, [esp + 0x43c]
push esi
push eax
call fcn.0044d76c
add esp, 0x10
push esi
push 0xa
call fcn.0044d7fe
mov al, byte [ebp + 0xc]
add esp, 8
test al, 0x10
je 0x40fe43
push ebp
call fcn.0044d6ef
add esp, 4
push esi
call fcn.0044d6ef
add esp, 4
mov ecx, dword [0x4aaa88]
push ebx
push ebx
push ecx
call fcn.0043f9a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.00462fb7
mov eax, dword [esp + 0x18]
jmp 0x410c95
mov edi, dword [esp + 0xd50]
mov ebp, dword [esp + 0xd44]
cmp edi, esi
je 0x4100c7
cmp byte [edi], 0
je 0x4100c7
mov edx, dword [0x4a624c]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x18]
push ebp
push eax
mov dword [esp + 0xd44], 1
call fcn.0040d300
add esp, 8
mov esi, eax
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd40], 2
call fcn.00463025
push 0x49e250
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0xd48], 3
call fcn.0046324c
push esi
lea edx, [esp + 0x3c]
mov bl, 4
push eax
push edx
mov byte [esp + 0xd48], bl
call fcn.004631e6
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xd40], 5
call fcn.004630f0
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], bl
call fcn.00462fb7
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd3c], 3
call fcn.00462fb7
lea ecx, [esp + 0x28]
mov byte [esp + 0xd3c], 2
call fcn.00462fb7
lea ecx, [esp + 0x18]
mov byte [esp + 0xd3c], 1
call fcn.00462fb7
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push 0
push 0
push 0x4aa680
add ecx, 4
push eax
mov eax, dword [0x4aaa88]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00440770
test eax, eax
je 0x4100ad
mov eax, dword [esp + 0x30]
test eax, eax
jbe 0x4100ad
lea ecx, [esp + 0x24]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.00462fb7
xor eax, eax
jmp 0x410c95
lea ecx, [esp + 0x24]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.00462fb7
mov ebx, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x20]
push ebp
push ecx
call fcn.00409830
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0xd3c], 6
call fcn.004634d9
push 0x49df8c
lea ecx, [esp + 0x24]
call fcn.0045ffea
test eax, eax
jne 0x41012e
lea edx, [esp + 0x30]
push 1
push edx
lea ecx, [esp + 0x28]
call fcn.0045fe3d
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xd40], 7
call fcn.004630f0
lea ecx, [esp + 0x30]
mov byte [esp + 0xd3c], 6
call fcn.00462fb7
mov ecx, ebx
call fcn.0040f3f0
mov edi, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], edi
call fcn.00461ed4
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd3c], 8
call fcn.004621cd
mov dword [esp + 0x54], 0x4869e4
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0x11
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0xa
cmp edi, esi
mov byte [esp + 0xd3c], 0xa
je 0x41019b
cmp word [edi + 0x60], 0x34
jne 0x41019b
cmp dword [edi + 0x1cc], esi
jne 0x41019b
push esi
jmp 0x41019d
push 1
lea eax, [esp + 0x58]
lea ecx, [esp + 0x80]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push ebp
call fcn.00406310
mov eax, dword [0x4aacb8]
add esp, 0x14
cmp eax, esi
mov dword [esp + 0x24], esi
jne 0x4102e1
mov eax, dword [esp + 0x20]
push 0x49e9d0
push eax
call fcn.0044d292
add esp, 8
test eax, eax
jne 0x4102e1
cmp dword [esp + 0x48], 1
jle 0x4102e1
lea ecx, [esp + 0xc34]
lea edx, [esp + 0x130]
push ecx
lea eax, [esp + 0x838]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
push ebp
call fcn.0044d8ca
lea edx, [esp + 0x144]
push str..map
lea eax, [esp + 0x84c]
push edx
lea ecx, [esp + 0xcc]
push eax
lea edx, [esp + 0xa54]
push ecx
push edx
call fcn.0044d839
lea eax, [esp + 0xa5c]
push 0x49cc44
push eax
call fcn.0044d7eb
mov edi, eax
mov eax, dword [esp + 0x78]
add esp, 0x30
xor esi, esi
test eax, eax
jle 0x410286
test edi, edi
je 0x41027d
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + esi*4]
push edx
push esi
push str._d__d_n
push edi
call fcn.0044e4a2
add esp, 0x10
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x41025f
test edi, edi
je 0x410293
push edi
call fcn.0044d6ef
add esp, 4
cmp dword [esp + 0x48], 1
jle 0x4102e1
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
add esi, ecx
mov dword [eax], esi
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call fcn.0040d3a0
add esp, 8
lea ecx, [esp + 0x40]
push 1
push 1
call fcn.00462108
push 1
push 1
lea ecx, [esp + 0x84]
call fcn.0046268a
cmp dword [esp + 0x48], 1
jg 0x41029a
push 0x49e9bc
lea ecx, [esp + 0x40]
call fcn.00463025
mov eax, dword [0x4aacd0]
mov esi, 1
cmp eax, esi
mov byte [esp + 0xd3c], 0xb
jne 0x410313
push 0x49e9b4
lea ecx, [esp + 0x40]
call fcn.00463140
cmp dword [0x4aacbc], esi
jne 0x410425
mov eax, dword [esp + 0x48]
xor ebp, ebp
test eax, eax
jle 0x410b95
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [esp + 0x230]
push 0xa
push edx
push ebp
call fcn.004508e3
lea eax, [esp + 0xc40]
lea ecx, [esp + 0x13c]
push eax
lea edx, [esp + 0x844]
push ecx
mov ecx, dword [esp + 0xd58]
lea eax, [esp + 0xc4]
push edx
push eax
push ecx
call fcn.0044d8ca
mov edi, 0x49cc80
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str..txt
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 edx, [esp + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x254]
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 + 0x154]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x85c]
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0xa60]
push edx
push eax
call fcn.0044d839
mov ecx, dword [esp + 0x78]
add esp, 0x34
lea edx, [esp + 0xa34]
mov eax, dword [ecx + ebp*4]
push 0
push edx
push eax
call ebx
mov eax, dword [esp + 0x48]
inc ebp
cmp ebp, eax
jl 0x410333
jmp 0x410b95
push ebp
lea ecx, [esp + 0x2c]
call fcn.00463025
mov eax, dword [0x4a624c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xd3c], 0xd
call fcn.004634d9
push 0x4aaa8c
lea ecx, [esp + 0x18]
call fcn.00463140
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
mov dl, byte [ecx + eax - 1]
cmp dl, 0x5c
je 0x41047e
cmp dl, 0x2f
je 0x41047e
push 0x49cdf4
lea ecx, [esp + 0x18]
call fcn.00463393
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
push 0x5c
dec eax
lea ecx, [esp + 0x18]
push eax
call fcn.004634fd
lea ecx, [esp + 0x14]
call fcn.004634d9
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0045ffea
test eax, eax
jne 0x41064a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
add eax, ebp
push eax
call fcn.00463140
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0046347e
mov esi, eax
test esi, esi
jle 0x41064a
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0045ff72
lea ecx, [esp + 0x30]
push esi
mov bl, 0xe
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd44], bl
call fcn.0045fe3d
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd40], 0xf
call fcn.004630f0
lea ecx, [esp + 0x30]
mov byte [esp + 0xd3c], bl
call fcn.00462fb7
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x49e9a8
lea ecx, [esp + 0x5c]
call fcn.004070e0
mov esi, eax
test esi, esi
jne 0x41058a
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x410553
mov eax, dword [esp + 0x5c]
push 1
push eax
lea ecx, [esp + 0x5c]
call fcn.00437ec0
lea ecx, [esp + 0x54]
call fcn.00407260
mov ecx, dword [esp + 0x18]
mov esi, eax
push 0x49e9a8
mov dword [esi + 4], ecx
lea ecx, [esi + 8]
call fcn.00463140
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + eax*4]
mov dword [esi], ecx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov dword [edx + eax*4], esi
push edi
lea ecx, [esi + 0xc]
call fcn.00463140
cmp dword [0x4aacd0], 1
jne 0x4105ab
push ebp
lea ecx, [esp + 0x18]
call fcn.00463140
jmp 0x410633
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x34]
push ecx
push 0x49e9a0
push edx
call fcn.004632c0
push 0x49e154
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0xd44], 0x10
push eax
call fcn.0046324c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0xd48], 0x11
call fcn.004631e6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd40], 0x12
call fcn.004630f0
lea ecx, [esp + 0x30]
mov byte [esp + 0xd3c], 0x11
call fcn.00462fb7
lea ecx, [esp + 0x18]
mov byte [esp + 0xd3c], 0x10
call fcn.00462fb7
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], bl
call fcn.00462fb7
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd3c], 0xd
call fcn.00462fb7
mov ebx, dword [esp + 0x1c]
jmp 0x410654
push ebp
lea ecx, [esp + 0x18]
call fcn.00463140
mov eax, dword [0x4a624c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x54]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0xd44], 0x13
call fcn.0040f4b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd40], 0x14
call fcn.004630f0
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], 0x13
call fcn.00462fb7
mov esi, dword [esp + 0xd4c]
cmp byte [esi], 0
je 0x4106d0
mov eax, dword [esp + 0x10]
push 0x4aa680
push eax
call fcn.0044d292
add esp, 8
test eax, eax
je 0x4106c6
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004633ba
push esi
lea ecx, [esp + 0x14]
call fcn.00463393
mov esi, dword [esp + 0x38]
test esi, esi
je 0x410b34
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4107bf
mov ecx, dword [esp + 0x10]
push 0x4aa680
push ecx
call fcn.0044d292
add esp, 8
test eax, eax
je 0x410709
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004633ba
push esi
lea ecx, [esp + 0x14]
call fcn.00463393
push 0x49e99c
lea ecx, [esp + 0x14]
call fcn.00463393
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.004633cf
push 0x49e998
lea ecx, [esp + 0x14]
call fcn.00463393
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0x4aaa70
call fcn.0041d810
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd40], 0x15
call fcn.004633cf
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], 0x13
call fcn.00462fb7
push 0x49e998
lea ecx, [esp + 0x14]
call fcn.00463393
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x10]
push edx
call fcn.004633cf
mov eax, dword [esp + 0x10]
push 0x4aa680
push eax
call fcn.0044d292
add esp, 8
test eax, eax
je 0x410b62
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.004112a0
mov dword [esp + 0x24], eax
jmp 0x410b62
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call fcn.00462d2c
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
mov byte [esp + 0xd3c], 0x16
jle 0x410b21
jmp 0x4107e9
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call fcn.004630f0
push 0x49e990
mov ecx, ebx
call fcn.0040f160
test eax, eax
je 0x41085d
mov ecx, dword [esp + 0x10]
push 0x4aa680
push ecx
call fcn.0044d292
add esp, 8
test eax, eax
je 0x410828
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004633ba
push 0x49e988
lea ecx, [esp + 0x14]
call fcn.00463393
lea edx, [esp + 0x9c]
push 0xa
lea eax, [esi + 1]
push edx
push eax
call fcn.004508e3
add esp, 0xc
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00463393
mov edx, dword [esp + 0x10]
push 0x4aa680
push edx
call fcn.0044d292
add esp, 8
test eax, eax
je 0x41087e
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004633ba
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.00463393
push 0x49e99c
lea ecx, [esp + 0x14]
call fcn.00463393
test esi, esi
jle 0x4108de
push str.Page
lea ecx, [esp + 0x14]
call fcn.00463393
lea ecx, [esp + 0x90]
push 0xa
push ecx
push esi
call fcn.004508e3
add esp, 0xc
lea edx, [esp + 0x90]
lea ecx, [esp + 0x10]
push edx
call fcn.00463393
push 0x49e154
lea ecx, [esp + 0x14]
call fcn.00463393
mov eax, dword [esp + 0x20]
push 0x49e9d0
push eax
call fcn.0044d292
add esp, 8
test eax, eax
jne 0x4109c5
mov eax, dword [0x4aacd0]
test eax, eax
jne 0x4109c5
push str.PdfSplit
lea ecx, [esp + 0x14]
call fcn.00463393
mov edx, dword [0x4aacb8]
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edx
call fcn.004508e3
add esp, 0xc
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.00463393
push 0x49e154
lea ecx, [esp + 0x14]
call fcn.00463393
push str.PdfTextMode
lea ecx, [esp + 0x14]
call fcn.00463393
mov edx, dword [0x4aaca0]
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edx
call fcn.004508e3
add esp, 0xc
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.00463393
push 0x49e154
lea ecx, [esp + 0x14]
call fcn.00463393
push str.PdfShowMode
lea ecx, [esp + 0x14]
call fcn.00463393
mov edx, dword [0x4aaca4]
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edx
call fcn.004508e3
add esp, 0xc
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.00463393
push 0x49e154
lea ecx, [esp + 0x14]
call fcn.00463393
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.004633cf
push 0x49e998
lea ecx, [esp + 0x14]
call fcn.00463393
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, 0x4aaa70
call fcn.0041d810
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd40], 0x17
call fcn.004633cf
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], 0x16
call fcn.00462fb7
push 0x49e998
lea ecx, [esp + 0x14]
call fcn.00463393
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004633cf
cmp esi, dword [esp + 0x84]
jge 0x410a4e
mov edx, dword [esp + 0x80]
cmp dword [edx + esi*4], 0
je 0x410aec
mov eax, dword [esp + 0x44]
push 0
mov eax, dword [eax + esi*4]
push eax
call fcn.0045fabd
add esp, 8
test eax, eax
jne 0x410aec
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, 0x4aaa70
call fcn.0041d810
mov eax, dword [eax]
push str.TEXT
push eax
call fcn.00459170
add esp, 8
test eax, eax
jne 0x410aa2
cmp dword [0x4aacd0], 1
sete al
test al, al
je 0x410aa2
mov bl, 1
jmp 0x410aa4
xor bl, bl
lea ecx, [esp + 0x18]
call fcn.00462fb7
test bl, bl
jne 0x410aec
push 0x49e948
lea ecx, [esp + 0x14]
call fcn.00463393
mov eax, dword [esp + 0x44]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.004633cf
push 0x49e940
lea ecx, [esp + 0x14]
call fcn.00463393
push 0x49e9b4
lea ecx, [esp + 0x14]
call fcn.00463393
mov edx, dword [esp + 0x10]
push 0x4aa680
push edx
call fcn.0044d292
add esp, 8
test eax, eax
je 0x410b14
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004112a0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x4107e5
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd3c], 0x13
call fcn.00462fb7
jmp 0x410b62
mov ecx, dword [esp + 0x10]
push 0x4aa680
push ecx
call fcn.0044d292
add esp, 8
test eax, eax
je 0x410b62
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.004112a0
test eax, eax
je 0x410b62
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0xd3c], 0xd
call fcn.00462fb7
lea ecx, [esp + 0x14]
mov byte [esp + 0xd3c], 0xc
call fcn.00462fb7
lea ecx, [esp + 0x28]
mov byte [esp + 0xd3c], 0xb
call fcn.00462fb7
mov eax, dword [esp + 0x48]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jle 0x410bd6
mov edi, dword [esp + 0xd44]
mov eax, dword [esp + 0x44]
push edi
mov eax, dword [eax + esi*4]
push eax
call fcn.0044d292
add esp, 8
test eax, eax
je 0x410bcd
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + esi*4]
push eax
call fcn.0045fb2d
add esp, 4
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x410ba8
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd3c], 0xa
call fcn.00462fb7
mov dword [esp + 0x54], 0x4869e4
mov eax, dword [esp + 0x58]
mov byte [esp + 0xd3c], 0x18
cmp eax, ebx
je 0x410c39
mov ecx, dword [esp + 0x5c]
xor edi, edi
cmp ecx, ebx
jbe 0x410c39
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x410c30
lea edx, [esi + 0xc]
push 1
push edx
call fcn.0046046c
lea eax, [esi + 8]
push 1
push eax
call fcn.0046046c
mov esi, dword [esi]
cmp esi, ebx
jne 0x410c10
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
inc edi
cmp edi, ecx
jb 0x410c09
push eax
call fcn.004635c4
mov ecx, dword [esp + 0x6c]
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.0046235b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x68], ebx
mov byte [esp + 0xd3c], 8
call fcn.00462200
lea ecx, [esp + 0x40]
mov byte [esp + 0xd3c], 6
call fcn.00461f07
lea ecx, [esp + 0x20]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.00462fb7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xd34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd30
ret 0x10