Function at 0x4a0e60
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe30
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0xe2c], eax
mov eax, dword [esp + 0xe38]
push ebp
mov ebp, dword [esp + 0xe40]
push esi
mov esi, dword [esp + 0xe3c]
push edi
or edi, 0xffffffff
cmp dword [esp + 0xe4c], 0
mov dword [esp + 0x20], eax
jne 0x4a0eba
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xe2c]
xor ecx, esp
call fcn.005aac48
add esp, 0xe30
ret
push esi
call fcn.005170c0
add esp, 4
test eax, eax
je 0x4a0e9d
push ebx
mov ebx, dword [esp + 0xe54]
cmp bl, 0x46
jne 0x4a0f20
mov ecx, dword [esp + 0x24]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a0f0d
push str.SaveCfmt
push 0x1c
push esi
call fcn.004e26e0
add esp, 0xc
jmp 0x4a2995
mov edx, dword [esp + 0xe50]
push 0
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esi + 0x5e4], 0
mov dword [esp + 0x10], 0
jle 0x4a1002
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.004abca0
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
add esp, 8
cmp word [eax + 8], 0xffff
jne 0x4a0f62
mov dword [esp + 0x20], 1
jmp 0x4a0f69
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x20]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
cmp word [eax + 8], 0xffff
jne 0x4a0fb9
movzx eax, word [eax + 0xa]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], eax
push 2
jmp 0x4a0fc8
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x4a0feb
mov eax, dword [eax + 8]
push eax
add ecx, ecx
push ecx
mov edx, dword [esi + 0xd4]
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esi + 0x5e4]
mov dword [esp + 0x10], eax
jl 0x4a0f35
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor ecx, ecx
cmp dword [esi + 0x5e4], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
jl 0x4a1187
jmp 0x4a1054
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x5e4]
jge 0x4a107b
mov eax, dword [esi + 0x138]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x44], 0
je 0x4a1071
cmp dword [eax + 0xc], 0
jne 0x4a107b
add dword [esp + 0x28], 1
jmp 0x4a1170
cmp dword [esp + 0x28], 0
jle 0x4a10ea
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x20]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
mov dword [esp + 0x40], 0
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x28]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0
cmp ecx, dword [esi + 0x5e4]
je 0x4a1187
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0xd4]
lea edx, [esp + 0x20]
push edx
push 4
push eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0x138]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esi + 0xd4]
lea ecx, [eax + eax]
push ecx
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esi + 0x5e4]
mov dword [esp + 0x10], eax
jle 0x4a1050
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor ecx, ecx
cmp dword [esi + 0x5e4], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
jl 0x4a1304
jmp 0x4a11d4
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x5e4]
jge 0x4a11fb
mov eax, dword [esi + 0x138]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0
je 0x4a11f1
cmp dword [eax + 0xc], 0
jne 0x4a11fb
add dword [esp + 0x28], 1
jmp 0x4a12ed
cmp dword [esp + 0x28], 0
jle 0x4a126a
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x20]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
mov dword [esp + 0x40], 0
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x28]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0
cmp ecx, dword [esi + 0x5e4]
je 0x4a1304
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0xd4]
lea edx, [esp + 0x20]
push edx
push 4
push eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0x138]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xd4]
push edx
push eax
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esi + 0x5e4]
mov dword [esp + 0x10], eax
jle 0x4a11d0
movzx eax, word [esi + 0x343c]
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esp + 0x38]
push eax
push 2
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor eax, eax
cmp dword [esi + 0x343c], eax
mov dword [esp + 0x10], eax
jle 0x4a1c4c
mov dword [esp + 0x14], eax
jmp 0x4a1380
mov eax, dword [esi + 0x3434]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + eax + 0x13c], 0
jne 0x4a13a2
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.004ac1d0
add esp, 8
push 0xdc
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.004e28a0
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x20]
lea eax, [edx + ecx]
mov ecx, dword [eax + 0x134]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0xd4], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x154], edx
mov ecx, dword [eax + 0x2c]
add esp, 0xc
add eax, 8
push eax
lea edx, [esp + 0xf4]
push edx
mov dword [esp + 0x94], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x3434]
mov dl, byte [eax + ecx + 0x28]
add eax, ecx
mov byte [esp + 0xaf], dl
mov ecx, dword [eax + 0x144]
mov dword [esp + 0xcc], ecx
mov edx, dword [eax + 0x148]
mov dword [esp + 0xd4], edx
mov ecx, dword [eax + 0x16c]
mov dword [esp + 0x14c], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0xd8], edx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0xdc], ecx
mov edx, dword [eax + 0x44]
mov dword [esp + 0xec], edx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x160], ecx
mov edx, dword [eax + 0x88]
mov dword [esp + 0xb0], edx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0xd0], ecx
mov edx, dword [eax + 0xc0]
mov dword [esp + 0xe4], edx
mov ecx, dword [eax + 0xc4]
mov dword [esp + 0xe8], ecx
mov edx, dword [eax + 0xac]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 0xa8]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x110], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x114], ecx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x118], edx
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x12c], ecx
mov dx, word [eax + 0x160]
mov word [esp + 0x11c], dx
mov cl, byte [eax + 0x29]
mov byte [esp + 0x11e], cl
mov edx, dword [eax + 0xf4]
mov dword [esp + 0x120], edx
mov ecx, dword [eax + 0xf8]
mov dword [esp + 0x124], ecx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x128], edx
mov ecx, dword [eax + 0x118]
mov dword [esp + 0x150], ecx
mov edx, dword [eax + 0x11c]
mov dword [esp + 0x154], edx
mov ecx, dword [eax + 0x120]
mov dword [esp + 0x158], ecx
mov edx, dword [eax + 0x124]
mov dword [esp + 0x15c], edx
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x4a1589
cmp dword [eax + 0x13c], 0
je 0x4a1589
test byte [esi + 0xa15c], 0x10
jne 0x4a1589
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [esp + 0xe0], eax
jmp 0x4a1590
mov eax, dword [esp + 0xe0]
cmp eax, 1
jle 0x4a15c0
mov eax, dword [esi + 0x3434]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax + 0xd4]
push 0x5e8de8
push edx
call fcn.005add20
add esp, 8
test eax, eax
mov dword [esp + 0x24], 1
jne 0x4a15c8
mov dword [esp + 0x24], 0
test byte [esp + 0x88], 0x80
mov eax, dword [esi + 0x3434]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax + 0x64]
mov dword [esp + 0xc0], eax
je 0x4a1602
cmp eax, 6
jne 0x4a1602
and dword [esp + 0x88], 0xffffff7f
xor eax, eax
mov dword [esp + 0xc0], eax
jmp 0x4a1607
cmp eax, 3
je 0x4a1613
test dword [esi + 0xa15c], 0x10000000
je 0x4a1620
mov dword [esp + 0xc0], 0
jmp 0x4a1650
test eax, eax
je 0x4a1650
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc4]
push edx
push eax
push esi
call fcn.0052c410
add esp, 0xc
test eax, eax
je 0x4a234f
cmp dword [esp + 0xc4], 0
je 0x4a234f
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x88]
push ecx
push 0xdc
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
cmp dword [esp + 0xcc], 0
jle 0x4a171a
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx + 0x54]
test eax, eax
je 0x4a16ad
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x30], eax
jmp 0x4a16b5
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0xd4]
lea eax, [esp + 0x30]
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4a171a
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 0x54]
mov edx, dword [esi + 0xd4]
push ecx
push eax
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
test byte [esp + 0x88], 0x80
je 0x4a1c2d
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x9c]
xor ecx, ecx
mov dword [esp + 0x18], edx
cmp dword [eax + 0x13c], ecx
jne 0x4a175b
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0xe8], ecx
je 0x4a17d0
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.004cc8e0
add esp, 8
test eax, eax
jne 0x4a17d0
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx + 0xe8]
mov eax, dword [eax]
imul eax, eax, 0x170
add eax, ecx
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x4a17d0
cmp dword [eax + 0x13c], 0
je 0x4a17d0
push 0x5e8de8
push ecx
call fcn.005add20
add esp, 8
test eax, eax
je 0x4a17d0
test byte [esi + 0xa15c], 0x10
jne 0x4a17d0
xor eax, eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xe0]
cmp eax, 1
jle 0x4a181c
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 0xd4]
mov edx, dword [esi + 0xd4]
push ecx
push eax
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx + 0xb0]
mov ecx, dword [esi + 0xd4]
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x3434]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 0xb4]
mov eax, dword [esi + 0xd4]
push edx
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0xd4]
lea edx, [esp + 0x2c]
push edx
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0xd4]
lea edx, [esp + 0x18]
push edx
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
cmp dword [esp + 0x2c], 0
jbe 0x4a1a00
mov edx, dword [esi + 0x3434]
mov eax, dword [esp + 0x14]
add eax, edx
cmp dword [eax + 0x88], 1
jne 0x4a1920
mov ecx, dword [eax + 0x90]
push 0
push ecx
call fcn.004e4290
mov edx, dword [esi + 0x3434]
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + edx + 0xa0], eax
mov edx, dword [esi + 0x3434]
mov eax, dword [esp + 0x14]
add eax, edx
cmp dword [eax + 0x88], 9
jne 0x4a1955
mov ecx, dword [eax + 0x94]
push ecx
call fcn.004e4210
mov edx, dword [esi + 0x3434]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + edx + 0xa0], eax
mov edx, dword [esi + 0x3434]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edx + 0xa0]
add eax, edx
mov edx, dword [esi + 0xd4]
push ecx
mov ecx, dword [eax + 0x98]
push ecx
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
mov ecx, dword [eax + 0x88]
cmp ecx, 1
jne 0x4a19ca
mov eax, dword [eax + 0xa0]
push eax
call fcn.004e4260
mov edx, dword [esi + 0x3434]
mov ecx, dword [esp + 0x18]
mov dword [ecx + edx + 0x90], eax
jmp 0x4a19ec
cmp ecx, 9
jne 0x4a1a00
mov ecx, dword [eax + 0xa0]
push ecx
call fcn.004e41e0
mov edx, dword [esi + 0x3434]
mov ecx, dword [esp + 0x18]
mov dword [ecx + edx + 0x94], eax
mov eax, dword [esi + 0x3434]
mov dword [ecx + eax + 0xa0], 0
add esp, 4
cmp dword [esp + 0x18], 0
jbe 0x4a1aed
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx + 0xa4]
add ecx, edx
cmp dword [ecx + 0x88], 6
jne 0x4a1ab7
push 0xcd8
lea ecx, [esp + 0x168]
push ecx
push eax
call fcn.004e29c0
mov edx, dword [esp + 0x1b0]
mov eax, dword [esi + 0x39c]
add esp, 0xc
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4a1ab0
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 0x144]
cmp ecx, 2
jne 0x4a1a8e
push 0x3e8
lea ecx, [esp + 0x5a9]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [esp + 0x98d], 0
jmp 0x4a1ab0
cmp ecx, 3
jne 0x4a1ab0
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x990], eax
lea eax, [esp + 0x164]
mov edx, dword [esi + 0x3434]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edx + 0x9c]
mov edx, dword [esi + 0xd4]
push ecx
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
cmp dword [esp + 0xc0], 0
je 0x4a1b59
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.0052c410
add esp, 8
test eax, eax
je 0x4a2364
mov edx, dword [esi + 0x4704]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esi + 0xd4]
push edx
push eax
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x4700]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 0x4700]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esi + 0x3434]
mov eax, dword [esp + 0x14]
cmp dword [eax + edx + 0xe8], 0
je 0x4a1b7c
cmp dword [esp + 0x24], 0
mov dword [esp + 0x34], 1
je 0x4a1b84
mov dword [esp + 0x34], 0
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x34]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
cmp dword [esp + 0x34], 0
je 0x4a1bec
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx + 0xe8]
mov ecx, dword [esi + 0xd4]
push eax
push 0x34
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x3434]
add eax, ecx
mov ecx, dword [eax + 0xf8]
test ecx, ecx
jbe 0x4a1c2d
mov edx, dword [eax + 0xfc]
mov eax, dword [esi + 0xd4]
push edx
push ecx
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x170
add eax, 1
cmp eax, dword [esi + 0x343c]
mov dword [esp + 0x10], eax
jl 0x4a1380
mov edx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
cmp dword [esi + 0x5e4], 0
mov dword [esp + 0x18], 0
jle 0x4a1d49
lea ecx, [ecx]
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esi + 0xd4]
add eax, 0x14
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x138]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 0xd4]
add edx, 0x2c
push edx
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0x138]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + eax*4]
mov edx, dword [esi + 0xd4]
add ecx, 0x30
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esi + 0x5e4]
mov dword [esp + 0x18], eax
jl 0x4a1c90
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x2b3c]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
push 0x48
lea edx, [esp + 0x44]
push 0
push edx
call fcn.004e28a0
add esp, 0xc
cmp dword [esi + 0x2b3c], 0
mov dword [esp + 0x10], 0
jle 0x4a1ea7
mov dword [esp + 0x24], 0
nop
mov eax, dword [esi + 0x2b38]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + ecx + 0xc]
add eax, ecx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x40]
push ecx
push 0x48
mov dword [esp + 0x88], edx
mov eax, dword [eax + 0x54]
mov edx, dword [esi + 0xd4]
push edx
mov dword [esp + 0x90], eax
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], 0x58
add eax, 1
cmp eax, dword [esi + 0x2b3c]
mov dword [esp + 0x10], eax
jl 0x4a1dd0
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x3888]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x3888]
mov edx, dword [esi + 0x387c]
imul eax, eax, 0xb8
mov ecx, dword [esi + 0xd4]
push edx
push eax
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x3430]
push eax
mov eax, dword [esi + 0xd4]
push 1
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea eax, [esi + 0x39c8]
push eax
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0x39c8]
mov ecx, dword [esi + 0x39c0]
imul edx, edx, 0x98
mov eax, dword [esi + 0xd4]
push ecx
push edx
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x5894]
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0x5894]
mov eax, dword [esi + 0x5884]
imul ecx, ecx, 0x68
mov edx, dword [esi + 0xd4]
push eax
push ecx
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x5898]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x5898]
mov edx, dword [esi + 0x588c]
imul eax, eax, 0x84
mov ecx, dword [esi + 0xd4]
push edx
push eax
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x3430]
push eax
mov eax, dword [esi + 0xd4]
push 1
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea eax, [esi + 0x734]
push eax
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0x734]
mov ecx, dword [esi + 0x72c]
imul edx, edx, 0x98
mov eax, dword [esi + 0xd4]
push ecx
push edx
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x39a8]
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0x39a8]
mov eax, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov edx, dword [esi + 0xd4]
push eax
push ecx
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x2b54]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x2b54]
mov edx, dword [esi + 0x2b50]
mov ecx, eax
shl ecx, 4
push edx
mov edx, dword [esi + 0xd4]
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0xba0]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor eax, eax
cmp dword [esi + 0xba0], eax
mov dword [esp + 0x10], eax
jle 0x4a24c0
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0xb80]
add edx, dword [esp + 0x14]
mov eax, dword [esi + 0xd4]
push edx
push 0x30
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xb80]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x4a2379
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x1c], eax
jmp 0x4a2381
push 0x5da43c
push 0x3a
push esi
call fcn.004e26e0
add esp, 0xc
jmp 0x4a2953
push 0x5da43c
push 0x39
push esi
call fcn.004e26e0
add esp, 0xc
jmp 0x4a2953
mov dword [esp + 0x1c], 0
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x1c]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a23e6
mov ecx, dword [esi + 0xb80]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 4]
mov edx, dword [esi + 0xd4]
push ecx
push eax
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0xd4]
lea ecx, [esp + 0x1c]
push ecx
push 4
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
mov dword [esp + 0x3c], 0
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xb80]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx + 0x10]
test eax, eax
je 0x4a2437
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x1c], eax
jmp 0x4a243f
mov dword [esp + 0x1c], 0
mov ecx, dword [esi + 0xd4]
lea eax, [esp + 0x1c]
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a24a4
mov ecx, dword [esi + 0xb80]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 0x10]
mov edx, dword [esi + 0xd4]
push ecx
push eax
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x30
add eax, 1
cmp eax, dword [esi + 0xba0]
mov dword [esp + 0x10], eax
jl 0x4a2300
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xe50]
push eax
push ebp
push edi
push ebx
push 1
push ecx
push esi
call fcn.0049fe10
add esp, 0x1c
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0xb
mov dword [esp + 0x10], eax
jl 0x4a24f4
mov edx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x2b60]
push eax
push 4
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor eax, eax
cmp dword [esi + 0x2b60], eax
mov dword [esp + 0x10], eax
jle 0x4a26c4
mov dword [esp + 0x14], eax
jmp 0x4a25a0
mov eax, dword [esi + 0x2b5c]
add eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xd4]
push eax
push 0x48
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esi + 0x2b5c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp dword [eax], 0
je 0x4a26a8
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4a25f9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x1c], eax
jmp 0x4a2601
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0xd4]
lea edx, [esp + 0x1c]
push edx
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a2666
mov edx, dword [esi + 0x2b5c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + edx + 0x18]
push edx
push eax
mov eax, dword [esi + 0xd4]
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x2b5c]
lea ecx, [eax + edx]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4a26a8
mov ecx, dword [ecx + 0x1c]
imul eax, eax, 0x84
mov edx, dword [esi + 0xd4]
push ecx
push eax
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x48
add eax, 1
cmp eax, dword [esi + 0x2b60]
mov dword [esp + 0x10], eax
jl 0x4a25a0
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x2b6c]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor eax, eax
cmp dword [esi + 0x2b6c], eax
mov dword [esp + 0x10], eax
jle 0x4a27d4
mov dword [esp + 0x18], eax
jmp 0x4a2740
mov edx, dword [esi + 0x2b68]
add edx, dword [esp + 0x18]
mov eax, dword [esi + 0xd4]
push edx
push 0x3c
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov edx, dword [esi + 0x2b68]
mov eax, dword [esp + 0x18]
cmp dword [eax + edx], 0
lea ecx, [eax + edx]
je 0x4a27b8
mov eax, dword [ecx + 8]
test eax, eax
je 0x4a27b8
mov ecx, dword [ecx + 0xc]
imul eax, eax, 0x84
mov edx, dword [esi + 0xd4]
push ecx
push eax
push edx
lea eax, [esp + 0xe5c]
push eax
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 0x3c
add eax, 1
cmp eax, dword [esi + 0x2b6c]
mov dword [esp + 0x10], eax
jl 0x4a2740
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x3430]
push eax
push 1
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
lea eax, [esi + 0x760]
push eax
mov eax, dword [esi + 0xd4]
push 4
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
xor eax, eax
cmp dword [esi + 0x760], eax
mov dword [esp + 0x10], eax
jle 0x4a2888
mov dword [esp + 0x24], eax
mov edi, edi
mov edx, dword [esi + 0x758]
add edx, dword [esp + 0x24]
mov eax, dword [esi + 0xd4]
push edx
push 0x5c
push eax
lea ecx, [esp + 0xe5c]
push ecx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
je 0x4a2953
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], 0x5c
add eax, 1
cmp eax, dword [esi + 0x760]
mov dword [esp + 0x10], eax
jl 0x4a2840
push 0x25c
lea eax, [esi + 0x58c8]
push 0
push eax
call fcn.004e28a0
fld dword [esi + 0x3a30]
fld qword [0x5e8de0]
mov byte [esi + 0x58c8], 0xba
fmul st(1), st(0)
mov byte [esi + 0x58c9], 0x28
fxch st(1)
mov byte [esi + 0x58ca], 0x40
call fcn.005ac350
fmul dword [esi + 0x3a2c]
mov dword [esi + 0x58cc], eax
call fcn.005ac350
mov edx, dword [esi + 0x3a70]
mov ecx, dword [esi + 0x740]
mov dword [esi + 0x58d0], eax
mov eax, dword [esi + 0x3a74]
mov dword [esi + 0x58d8], eax
lea eax, [esi + 0x58c8]
push eax
push 1
mov dword [esi + 0x58d4], edx
mov edx, dword [esi + 0xd4]
push edx
lea eax, [esp + 0xe68]
push eax
push ebp
push edi
push ebx
push esi
mov dword [esi + 0x58dc], ecx
call fcn.00517590
add esp, 0x2c
test eax, eax
je 0x4a2953
mov ecx, dword [esi + 0xd4]
lea eax, [esi + 0x58c8]
push eax
push 0x25c
push ecx
lea edx, [esp + 0xe5c]
push edx
push ebp
push edi
push ebx
push esi
call fcn.00517590
add esp, 0x20
test eax, eax
jne 0x4a2970
cmp bl, 0x46
jne 0x4a295f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x7e
push esi
call fcn.004e26e0
add esp, 0xc
xor eax, eax
jmp 0x4a2995
cmp bl, 0x46
jne 0x4a297e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a2990
cmp bl, 0x42
jne 0x4a2990
mov eax, dword [esp + 0xe50]
mov dword [esi + 0xd4], eax
mov eax, 1
mov ecx, dword [esp + 0xe3c]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005aac48
add esp, 0xe30
ret