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

Disassembly:
push 0xffffffffffffffff
push 0x48ad23
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 + 0x18], ebx
jne 0x40dd3e
push esi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x2ac]
push esi
push 0x67
rep stosd dword es:[edi], eax
push 0x4b0e20
call fcn.00407720
mov eax, dword [0x4bfe50]
push esi
push fcn.00407720
push eax
call fcn.0043f4c0
push 0x4bfe54
lea ecx, [esp + 0x1c]
call fcn.0046e7c1
push str.configloadctrl.ini
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd40], esi
call fcn.0046eb2f
mov ecx, dword [esp + 0x18]
push esi
push ecx
call fcn.0046b28d
add esp, 8
test eax, eax
je 0x40dad8
push 0x4bfab8
lea ecx, [esp + 0x1c]
call fcn.0046e8dc
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0xd44]
push esi
push edx
mov edx, dword [0x4bfe50]
lea eax, [ebx + 4]
push ebp
lea ecx, [esp + 0x2b4]
push eax
push ecx
push edx
call fcn.0043fee0
cmp eax, esi
mov dword [esp + 0x38], eax
jle 0x40db0e
add dword [ebx + 0x90], eax
jmp 0x40db15
mov ecx, ebx
call fcn.0040ce70
cmp dword [esp + 0x2ac], esi
jbe 0x40dd11
lea eax, [esp + 0x2b4]
push 0
push eax
call fcn.0046b28d
add esp, 8
test eax, eax
jne 0x40dd11
mov al, byte [0x4bfc50]
test al, al
jne 0x40dba4
lea edi, [esp + 0x2b4]
or ecx, 0xffffffff
xor eax, eax
push 0x4bfc50
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x4bfc50
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
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, 0x4bfc50
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.0046b2fd
add esp, 4
push 0x4b184c
push 0x4bfc50
call fcn.0045879b
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x40dd11
push ebp
push str._s:_n
push esi
call fcn.00459452
lea eax, [esp + 0x2c0]
push 0x4afd1c
push eax
call fcn.0045879b
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
je 0x40dd08
test byte [ebp + 0xc], 0x10
jne 0x40dcff
push ebp
lea ecx, [esp + 0x438]
push 0x3ff
push ecx
mov byte [esp + 0x440], 0
call fcn.00459556
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 0x40dc4b
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 0x40dc65
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 0x40dc15
mov al, byte [esp + 0x434]
test al, al
je 0x40dc81
lea edx, [esp + 0x434]
push esi
push edx
call fcn.0045871c
add esp, 8
lea eax, [esp + 0x28]
lea ecx, [esp + 0x434]
push eax
push 0x4afc7c
push ecx
mov dword [esp + 0x34], ebx
call fcn.0045941e
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x40dce9
lea edx, [esp + 0x434]
push 0x3ff
push edx
push eax
mov byte [esp + 0x440], 0
call fcn.00443990
mov al, byte [esp + 0x434]
test al, al
je 0x40dce9
push esi
push 0x4b1840
call fcn.0045871c
lea eax, [esp + 0x43c]
push esi
push eax
call fcn.0045871c
add esp, 0x10
push esi
push 0xa
call fcn.004587ae
mov al, byte [ebp + 0xc]
add esp, 8
test al, 0x10
je 0x40dbf7
push ebp
call fcn.0045869f
add esp, 4
push esi
call fcn.0045869f
add esp, 4
mov ecx, dword [0x4bfe50]
push 0
push 0
push ecx
call fcn.0043f4c0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.0046e753
mov eax, dword [esp + 0x38]
jmp 0x40ea3e
mov edi, dword [esp + 0xd50]
mov ebp, dword [esp + 0xd44]
cmp edi, esi
je 0x40de7d
cmp byte [edi], 0
je 0x40de7d
mov edx, dword [0x4bb604]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0xd44], 1
call fcn.0040c2f0
add esp, 8
mov esi, eax
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd40], 2
call fcn.0046e7c1
push 0x4b10f4
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0xd48], 3
call fcn.0046e9e8
push esi
lea edx, [esp + 0x3c]
mov bl, 4
push eax
push edx
mov byte [esp + 0xd48], bl
call fcn.0046e982
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xd40], 5
call fcn.0046e88c
lea ecx, [esp + 0x38]
mov byte [esp + 0xd3c], bl
call fcn.0046e753
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd3c], 3
call fcn.0046e753
lea ecx, [esp + 0x28]
mov byte [esp + 0xd3c], 2
call fcn.0046e753
lea ecx, [esp + 0x20]
mov byte [esp + 0xd3c], 1
call fcn.0046e753
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push 0
push 0
push 0x4bfab8
add ecx, 4
push eax
mov eax, dword [0x4bfe50]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.004405c0
test eax, eax
je 0x40de63
mov eax, dword [esp + 0x30]
test eax, eax
jbe 0x40de63
lea ecx, [esp + 0x24]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.0046e753
xor eax, eax
jmp 0x40ea3e
lea ecx, [esp + 0x24]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.0046e753
mov ebx, dword [esp + 0x18]
xor esi, esi
lea ecx, [esp + 0x1c]
push ebp
push ecx
call fcn.00408cd0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd3c], 6
call fcn.0046ec75
push 0x4b0e38
lea ecx, [esp + 0x20]
call fcn.0046b786
test eax, eax
jne 0x40dee4
lea edx, [esp + 0x30]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.0046b5d9
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd40], 7
call fcn.0046e88c
lea ecx, [esp + 0x30]
mov byte [esp + 0xd3c], 6
call fcn.0046e753
mov ecx, ebx
call fcn.0040d1e0
mov edi, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], edi
call fcn.0046d670
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd3c], 8
call fcn.0046d969
mov dword [esp + 0x54], 0x491b0c
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 0x40df51
cmp word [edi + 0x60], 0x34
jne 0x40df51
cmp dword [edi + 0x1cc], esi
jne 0x40df51
push esi
jmp 0x40df53
push 1
lea eax, [esp + 0x58]
lea ecx, [esp + 0x80]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push ebp
call fcn.00405ca0
mov eax, dword [0x4c0084]
add esp, 0x14
cmp eax, esi
mov dword [esp + 0x24], esi
jne 0x40e097
mov eax, dword [esp + 0x1c]
push 0x4b183c
push eax
call fcn.00458301
add esp, 8
test eax, eax
jne 0x40e097
cmp dword [esp + 0x48], 1
jle 0x40e097
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.0045887a
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.004587e9
lea eax, [esp + 0xa5c]
push 0x4afbec
push eax
call fcn.0045879b
mov edi, eax
mov eax, dword [esp + 0x78]
add esp, 0x30
xor esi, esi
test eax, eax
jle 0x40e03c
test edi, edi
je 0x40e033
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + esi*4]
push edx
push esi
push str._d__d_n
push edi
call fcn.00459452
add esp, 0x10
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x40e015
test edi, edi
je 0x40e049
push edi
call fcn.0045869f
add esp, 4
cmp dword [esp + 0x48], 1
jle 0x40e097
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.0040c390
add esp, 8
lea ecx, [esp + 0x40]
push 1
push 1
call fcn.0046d8a4
push 1
push 1
lea ecx, [esp + 0x84]
call fcn.0046d9f0
cmp dword [esp + 0x48], 1
jg 0x40e050
push 0x4b1828
lea ecx, [esp + 0x40]
call fcn.0046e7c1
mov eax, dword [0x4c009c]
mov esi, 1
cmp eax, esi
mov byte [esp + 0xd3c], 0xb
jne 0x40e0c9
push 0x4b1820
lea ecx, [esp + 0x40]
call fcn.0046e8dc
cmp dword [0x4c0088], esi
jne 0x40e1db
mov eax, dword [esp + 0x48]
xor ebp, ebp
test eax, eax
jle 0x40e93e
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [esp + 0x230]
push 0xa
push edx
push ebp
call fcn.0045ac5b
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.0045887a
mov edi, 0x4afc28
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.004587e9
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 0x40e0e9
jmp 0x40e93e
push ebp
lea ecx, [esp + 0x2c]
call fcn.0046e7c1
mov eax, dword [0x4bb604]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xd3c], 0xd
call fcn.0046ec75
push 0x4bfe54
lea ecx, [esp + 0x18]
call fcn.0046e8dc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
mov dl, byte [ecx + eax - 1]
cmp dl, 0x5c
je 0x40e234
cmp dl, 0x2f
je 0x40e234
push 0x4b0f9c
lea ecx, [esp + 0x18]
call fcn.0046eb2f
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
push 0x5c
dec eax
lea ecx, [esp + 0x18]
push eax
call fcn.0046ec99
lea ecx, [esp + 0x14]
call fcn.0046ec75
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046b786
test eax, eax
jne 0x40e400
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
add eax, ebp
push eax
call fcn.0046e8dc
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0046ec1a
mov esi, eax
test esi, esi
jle 0x40e400
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0046b70e
lea ecx, [esp + 0x30]
push esi
mov bl, 0xe
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd44], bl
call fcn.0046b5d9
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd40], 0xf
call fcn.0046e88c
lea ecx, [esp + 0x30]
mov byte [esp + 0xd3c], bl
call fcn.0046e753
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x4b1814
lea ecx, [esp + 0x5c]
call fcn.00406a70
mov esi, eax
test esi, esi
jne 0x40e340
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x40e309
mov eax, dword [esp + 0x5c]
push 1
push eax
lea ecx, [esp + 0x5c]
call fcn.00406bf0
lea ecx, [esp + 0x54]
call fcn.00406c60
mov ecx, dword [esp + 0x20]
mov esi, eax
push 0x4b1814
mov dword [esi + 4], ecx
lea ecx, [esi + 8]
call fcn.0046e8dc
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
mov dword [esi], ecx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov dword [edx + eax*4], esi
push edi
lea ecx, [esi + 0xc]
call fcn.0046e8dc
cmp dword [0x4c009c], 1
jne 0x40e361
push ebp
lea ecx, [esp + 0x18]
call fcn.0046e8dc
jmp 0x40e3e9
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x34]
push ecx
push 0x4b180c
push edx
call fcn.0046ea5c
push 0x4b0ffc
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0xd44], 0x10
push eax
call fcn.0046e9e8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0xd48], 0x11
call fcn.0046e982
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd40], 0x12
call fcn.0046e88c
lea ecx, [esp + 0x30]
mov byte [esp + 0xd3c], 0x11
call fcn.0046e753
lea ecx, [esp + 0x20]
mov byte [esp + 0xd3c], 0x10
call fcn.0046e753
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], bl
call fcn.0046e753
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd3c], 0xd
call fcn.0046e753
mov ebx, dword [esp + 0x18]
jmp 0x40e40a
push ebp
lea ecx, [esp + 0x18]
call fcn.0046e8dc
mov eax, dword [0x4bb604]
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.0040d2a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd40], 0x14
call fcn.0046e88c
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], 0x13
call fcn.0046e753
mov esi, dword [esp + 0xd4c]
cmp byte [esi], 0
je 0x40e486
mov eax, dword [esp + 0x10]
push 0x4bfab8
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e47c
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0046eb56
push esi
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov esi, dword [esp + 0x38]
test esi, esi
je 0x40e8dd
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x40e575
mov ecx, dword [esp + 0x10]
push 0x4bfab8
push ecx
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e4bf
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0046eb56
push esi
lea ecx, [esp + 0x14]
call fcn.0046eb2f
push 0x4b1808
lea ecx, [esp + 0x14]
call fcn.0046eb2f
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0046eb6b
push 0x4b1804
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0x4bfe38
call fcn.0041ad30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd40], 0x15
call fcn.0046eb6b
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], 0x13
call fcn.0046e753
push 0x4b1804
lea ecx, [esp + 0x14]
call fcn.0046eb2f
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x10]
push edx
call fcn.0046eb6b
mov eax, dword [esp + 0x10]
push 0x4bfab8
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e90b
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.0040f050
mov dword [esp + 0x24], eax
jmp 0x40e90b
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call fcn.0046e4c8
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
mov byte [esp + 0xd3c], 0x16
jle 0x40e8ca
jmp 0x40e59f
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call fcn.0046e88c
push 0x4b17fc
mov ecx, ebx
call fcn.0040d010
test eax, eax
je 0x40e613
mov ecx, dword [esp + 0x10]
push 0x4bfab8
push ecx
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e5de
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0046eb56
push 0x4b17f4
lea ecx, [esp + 0x14]
call fcn.0046eb2f
lea edx, [esp + 0x9c]
push 0xa
lea eax, [esi + 1]
push edx
push eax
call fcn.0045ac5b
add esp, 0xc
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov edx, dword [esp + 0x10]
push 0x4bfab8
push edx
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e634
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0046eb56
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.0046eb2f
push 0x4b1808
lea ecx, [esp + 0x14]
call fcn.0046eb2f
test esi, esi
jle 0x40e694
push str.Page
lea ecx, [esp + 0x14]
call fcn.0046eb2f
lea ecx, [esp + 0x90]
push 0xa
push ecx
push esi
call fcn.0045ac5b
add esp, 0xc
lea edx, [esp + 0x90]
lea ecx, [esp + 0x10]
push edx
call fcn.0046eb2f
push 0x4b0ffc
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov eax, dword [esp + 0x1c]
push 0x4b183c
push eax
call fcn.00458301
add esp, 8
test eax, eax
jne 0x40e76e
push str.PdfSplit
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov edx, dword [0x4c0084]
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edx
call fcn.0045ac5b
add esp, 0xc
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.0046eb2f
push 0x4b0ffc
lea ecx, [esp + 0x14]
call fcn.0046eb2f
push str.PdfTextMode
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov edx, dword [0x4c0068]
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edx
call fcn.0045ac5b
add esp, 0xc
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.0046eb2f
push 0x4b0ffc
lea ecx, [esp + 0x14]
call fcn.0046eb2f
push str.PdfShowMode
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov edx, dword [0x4c006c]
lea ecx, [esp + 0x70]
push 0xa
push ecx
push edx
call fcn.0045ac5b
add esp, 0xc
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.0046eb2f
push 0x4b0ffc
lea ecx, [esp + 0x14]
call fcn.0046eb2f
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046eb6b
push 0x4b1804
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, 0x4bfe38
call fcn.0041ad30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd40], 0x17
call fcn.0046eb6b
lea ecx, [esp + 0x34]
mov byte [esp + 0xd3c], 0x16
call fcn.0046e753
push 0x4b1804
lea ecx, [esp + 0x14]
call fcn.0046eb2f
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046eb6b
cmp esi, dword [esp + 0x84]
jge 0x40e7f7
mov edx, dword [esp + 0x80]
cmp dword [edx + esi*4], 0
je 0x40e895
mov eax, dword [esp + 0x44]
push 0
mov eax, dword [eax + esi*4]
push eax
call fcn.0046b28d
add esp, 8
test eax, eax
jne 0x40e895
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x4bfe38
call fcn.0041ad30
mov eax, dword [eax]
push str.TEXT
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x40e84b
cmp dword [0x4c009c], 1
sete al
test al, al
je 0x40e84b
mov bl, 1
jmp 0x40e84d
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.0046e753
test bl, bl
jne 0x40e895
push 0x4b17b4
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov eax, dword [esp + 0x44]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046eb6b
push 0x4b17ac
lea ecx, [esp + 0x14]
call fcn.0046eb2f
push 0x4b1820
lea ecx, [esp + 0x14]
call fcn.0046eb2f
mov edx, dword [esp + 0x10]
push 0x4bfab8
push edx
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e8bd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0040f050
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x40e59b
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd3c], 0x13
call fcn.0046e753
jmp 0x40e90b
mov ecx, dword [esp + 0x10]
push 0x4bfab8
push ecx
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e90b
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.0040f050
test eax, eax
je 0x40e90b
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0xd3c], 0xd
call fcn.0046e753
lea ecx, [esp + 0x14]
mov byte [esp + 0xd3c], 0xc
call fcn.0046e753
lea ecx, [esp + 0x28]
mov byte [esp + 0xd3c], 0xb
call fcn.0046e753
mov eax, dword [esp + 0x48]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jle 0x40e97f
mov edi, dword [esp + 0xd44]
mov eax, dword [esp + 0x44]
push edi
mov eax, dword [eax + esi*4]
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x40e976
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + esi*4]
push eax
call fcn.0046b2fd
add esp, 4
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x40e951
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd3c], 0xa
call fcn.0046e753
mov dword [esp + 0x54], 0x491b0c
mov eax, dword [esp + 0x58]
mov byte [esp + 0xd3c], 0x18
cmp eax, ebx
je 0x40e9e2
mov ecx, dword [esp + 0x5c]
xor edi, edi
cmp ecx, ebx
jbe 0x40e9e2
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x40e9d9
lea edx, [esi + 0xc]
push 1
push edx
call fcn.0046bc08
lea eax, [esi + 8]
push 1
push eax
call fcn.0046bc08
mov esi, dword [esi]
cmp esi, ebx
jne 0x40e9b9
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
inc edi
cmp edi, ecx
jb 0x40e9b2
push eax
call fcn.00473336
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.0046da9c
lea ecx, [esp + 0x7c]
mov dword [esp + 0x68], ebx
mov byte [esp + 0xd3c], 8
call fcn.0046d99c
lea ecx, [esp + 0x40]
mov byte [esp + 0xd3c], 6
call fcn.0046d6a3
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd3c], 0xffffffff
call fcn.0046e753
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