Function at 0x49bd70
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 0x49c0d8
sub esp, 0x6c
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00499800
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
cmp eax, 0x14
je 0x49bdc7
jmp 0x49bee0
jmp 0x49bdc9
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
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 + 0x54], eax
mov dword [esp], eax
call fcn.004017f0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x49be13
jmp 0x49be28
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
jmp 0x49be6a
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x49be49
jmp 0x49be56
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
jmp 0x49be58
jmp 0x49be58
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x49be6a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00499b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x49be9c
jmp 0x49bebc
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00499830
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
or ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x49bebe
jmp 0x49bebe
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x6c
ret
cmp eax, 0x16
je 0x49beea
jmp 0x49c05b
jmp 0x49beec
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
test eax, 0x80
jne 0x49bf01
jmp 0x49bf74
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
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 + 0x54], eax
mov dword [esp], eax
call fcn.004013b0
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
test al, al
jne 0x49bf3c
jmp 0x49bf64
mov eax, dword [esp + 0x48]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov dword [esp], eax
call fcn.0046f3b0
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
test al, al
jne 0x49bf62
jmp 0x49c043
jmp 0x49bf66
jmp 0x49bf66
mov eax, dword [esp + 0x48]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x48], eax
jmp 0x49bf76
jmp 0x49bf76
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x49bf83
jmp 0x49c021
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
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 + 0x54], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
test byte [eax], al
mov eax, dword [eax + 0x20]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x78]
and ecx, 0x60
or ecx, 0x180
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
call fcn.00401320
movzx eax, byte [esp + 4]
mov byte [esp + 0x16], al
movzx eax, al
or dword [esp + 0x1c], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea eax, [0x5115e0]
mov dword [esp], eax
lea eax, [0x53a9d0]
mov dword [esp + 4], eax
call fcn.0046fd20
jmp 0x49c05d
jmp 0x49c05f
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00499800
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
lea eax, [0x516d60]
mov dword [esp], eax
call fcn.0040dc80
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0x12
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x49c09c
jmp 0x49c0cd
jmp 0x49c09e
lea ecx, [0x529706]
mov dword [eax], ecx
mov eax, dword [esp + 0x58]
test byte [eax], al
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], 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 0x49c09e
call fcn.004743b0
jmp fcn.0049bd70