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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49c88a
sub esp, 0x74
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00499800
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
cmp eax, 0x11
je 0x49c48d
jmp 0x49c5b3
jmp 0x49c48f
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x50]
test byte [ecx], al
cmp dword [ecx + 0x28], eax
jbe 0x49c871
jmp 0x49c4d2
mov eax, dword [esp + 0x50]
test byte [eax], al
mov eax, dword [eax + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp], eax
call fcn.00401720
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x84]
imul ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x52bbe2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x19
call fcn.0049efe0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00499830
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00401320
movzx eax, byte [esp + 4]
mov byte [esp + 0x1b], al
mov ecx, dword [esp + 0x80]
and ecx, 0x180
or ecx, dword [esp + 0x30]
movzx eax, al
or ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
cmp eax, 0x17
je 0x49c5bd
jmp 0x49c6ea
jmp 0x49c5bf
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x58]
test byte [ecx], al
cmp dword [ecx + 4], eax
jbe 0x49c859
jmp 0x49c5df
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00499870
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
test byte [eax], al
mov eax, dword [eax + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp], eax
call fcn.00401720
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [0x527501]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 9
call fcn.0049e4c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00499830
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00401320
movzx eax, byte [esp + 4]
mov byte [esp + 0x1b], al
movzx eax, al
or eax, dword [esp + 0x30]
or eax, 0x180
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
cmp eax, 0x18
je 0x49c6f4
jmp 0x49c7d7
jmp 0x49c6f6
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x54]
test byte [ecx], al
cmp dword [ecx + 4], eax
jbe 0x49c7bf
jmp 0x49c716
mov eax, dword [esp + 0x54]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
lea eax, [0x527501]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 9
call fcn.0049e4c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00499830
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
or eax, 0x88
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [0x5cf464]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a9e8]
mov dword [esp + 4], eax
call fcn.0046fd20
jmp 0x49c7d9
jmp 0x49c7db
jmp 0x49c7dd
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00499800
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea eax, [0x516d60]
mov dword [esp], eax
call fcn.0040dc80
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov dword [eax + 4], 0x13
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x49c81d
jmp 0x49c84e
jmp 0x49c81f
lea ecx, [0x529c4d]
mov dword [eax], ecx
mov eax, dword [esp + 0x60]
test byte [eax], al
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
lea ecx, [0x513720]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046fd20
mov ecx, dword [eax]
call fcn.004757b0
mov dword [edi], ecx
jmp 0x49c81f
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a968]
mov dword [esp + 4], eax
call fcn.0046fd20
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a9e0]
mov dword [esp + 4], eax
call fcn.0046fd20
nop
call fcn.004743b0
jmp fcn.0049c430