Function at 0x49c410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49c7c3
sub esp, 0x70
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x49c43f
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x49c728
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00456197
lea edi, [esp + 0x4c]
call fcn.00456197
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x6c], edx
test ebp, ebp
je 0x49c6d3
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x3c], eax
lea edx, [0x500100]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004400f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x48], edx
xor ebx, ebx
jmp 0x49c4f5
lea esi, [edi + 1]
mov dword [esp + 0x64], esi
mov dword [eax + edi*4], ebp
inc ebx
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x88]
mov edx, ebp
cmp ebx, ecx
jge 0x49c56b
mov ebp, dword [edx + ebx*4]
test ebp, ebp
je 0x49c564
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
lea edx, [edi + 1]
cmp edx, esi
jbe 0x49c4dd
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
lea ecx, [0x500100]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.004401b0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
jmp 0x49c4dd
mov ebp, 0xffffffff
jmp 0x49c506
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x14], edx
call fcn.00484170
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x49c65d
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], ecx
lea eax, [0x509ee0]
mov dword [esp], eax
call fcn.0040a5d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x51c713]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x613370]
test ecx, ecx
jne 0x49c64b
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x613370]
test ecx, ecx
jne 0x49c639
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x8c], 0
lea ecx, [0x544660]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00455f20
mov eax, ecx
jmp 0x49c616
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00455f20
mov eax, ecx
jmp 0x49c5fe
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
lea eax, [0x50c160]
mov dword [esp], eax
call fcn.0040a5d0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
lea ecx, [0x512ca0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [0x4fe3a0]
mov dword [esp + 8], ecx
lea ecx, [0x527528]
mov dword [esp + 0xc], ecx
call fcn.00413050
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
mov dword [esp], edx
call fcn.0049be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], edx
test ecx, ecx
jne 0x49c70b
mov ecx, dword [esp + 0x88]
jmp 0x49c48b
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x49c43f
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0049f8e0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x49c759
mov ecx, dword [esp + 0x88]
jmp 0x49c43f
lea ecx, [0x544660]
cmp ecx, eax
jne 0x49c7a6
mov dword [edi + 4], 5
mov edx, dword [0x613370]
test edx, edx
jne 0x49c799
lea eax, [0x51bd4b]
mov dword [edi], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edi
add esp, 0x70
ret
lea eax, [0x51bd4b]
call fcn.00455f20
jmp 0x49c77c
mov dword [esp], eax
lea eax, [0x509300]
mov dword [esp + 4], eax
lea eax, [0x5027c0]
mov dword [esp + 8], eax
call fcn.00407d70
nop
call fcn.004546e0
jmp fcn.0049c410