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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a0085
sub esp, 0x54
mov eax, 0
lea edi, [esp + 0x3c]
call fcn.0045c17a
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
lea ebx, [0x4cf2e0]
mov dword [esp + 4], ebx
lea ebx, [0x5bb108]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x4c8580]
cmp eax, edx
je 0x49fb04
xor ecx, ecx
test ecx, ecx
jne 0x49fb13
mov eax, dword [esp + 0x58]
xor ecx, ecx
jmp 0x49fba6
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
test edx, edx
je 0x49fb6b
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov eax, dword [edx]
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x49fb9f
lea edx, [0x4eac80]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x23], 1
jmp 0x49fba3
mov eax, dword [esp + 0x58]
setne cl
mov byte [esp + 0x22], cl
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x49ff07
mov ebp, dword [ebp + 8]
cmp ebp, 0x103a77be
ja 0x49fcb2
cmp ebp, 0x3e19b09
jne 0x49fc3e
mov ebp, dword [esp + 0x64]
lea esi, [0x508b6c]
cmp ebp, esi
jne 0x49ff07
cmp ebx, esi
je 0x49fbf3
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004ad9a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x509a1c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x49fd84
cmp ebp, 0x103a77be
jne 0x49fca9
mov ebp, dword [esp + 0x64]
lea esi, [0x508b3c]
cmp ebp, esi
jne 0x49ff07
cmp ebx, esi
je 0x49fc5e
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004ac390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x5099bc]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x49fd84
mov ebp, dword [esp + 0x64]
jmp 0x49ff07
cmp ebp, 0xd7d15deb
jne 0x49fd1a
mov ebp, dword [esp + 0x64]
lea esi, [0x508b54]
cmp ebp, esi
jne 0x49ff07
cmp ebx, esi
je 0x49fcd2
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004ad190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x5099ec]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x49fd84
cmp ebp, 0xff2d2c4c
jne 0x49ff03
mov ebp, dword [esp + 0x64]
lea esi, [0x508b24]
cmp ebp, esi
jne 0x49ff07
cmp ebx, esi
je 0x49fd3e
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004a3c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x50998c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x49fddd
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x49fdd9
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004a0090
add esp, 0x54
ret
lea eax, [0x4d70a0]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x4e05a5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49fe1a
mov dword [eax + 8], edx
jmp 0x49fe28
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49fe42
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x49fe52
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49fe6c
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
jmp 0x49fe7c
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x20], edx
mov edx, dword [0x5bb250]
test edx, edx
jne 0x49fe96
mov dword [eax + 0x24], ecx
jmp 0x49fea4
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.0045bfa0
mov eax, edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x5073e4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x49feff
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004a0090
add esp, 0x54
ret
mov ebp, dword [esp + 0x64]
lea eax, [0x4d22a0]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x4e4f58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x5bb250]
test ebx, ebx
jne 0x49ff48
mov dword [eax + 8], edx
jmp 0x49ff52
lea edi, [eax + 8]
mov eax, edx
call fcn.0045bfa0
lea eax, [0x4d70a0]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x4e05a5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49ff8f
mov dword [eax + 8], edx
jmp 0x49ff9d
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49ffb7
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x49ffc7
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045bfa0
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49ffe1
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
jmp 0x49fff1
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045bfa0
mov eax, ecx
lea ecx, [0x5073bc]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x4a000d
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
jmp 0x4a001d
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045bfa0
mov eax, ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x5073e4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4a0078
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004a0090
add esp, 0x54
ret
call fcn.0045ab60
jmp fcn.0049fa80