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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e9d90
sub esp, 0x58
mov eax, 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
lea ebx, [0x62c360]
mov dword [esp + 4], ebx
lea ebx, [0x87ba98]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x61a040]
cmp eax, edx
je 0x4e985f
xor ecx, ecx
test ecx, ecx
jne 0x4e986e
mov ecx, dword [esp + 0x5c]
xor eax, eax
jmp 0x4e991d
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov ebx, dword [esp + 8]
test edx, edx
je 0x4e98c6
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebx
mov ecx, dword [edx]
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x4e9916
lea edi, [esp + 0x3c]
mov edx, eax
mov eax, 0
call fcn.0046293a
lea ecx, [0x4e9da0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
lea edx, [esp + 0x78]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], edx
mov byte [esp + 0x23], 1
jmp 0x4e991a
mov ecx, dword [esp + 0x5c]
setne al
mov byte [esp + 0x22], al
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x68]
test ebp, ebp
je 0x4e9c36
mov ebp, dword [ebp + 8]
cmp ebp, 0x12a91fd1
ja 0x4e9a29
cmp ebp, 0xaeb1564
jne 0x4e99b5
mov ebp, dword [esp + 0x68]
lea esi, [0x6c3e78]
cmp ebp, esi
jne 0x4e9c36
cmp ebx, esi
je 0x4e996a
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004fe5f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6c4a20]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4e9afb
cmp ebp, 0x12a91fd1
jne 0x4e9a20
mov ebp, dword [esp + 0x68]
lea esi, [0x6c3ea8]
cmp ebp, esi
jne 0x4e9c36
cmp ebx, esi
je 0x4e99d5
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.00500110
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6c4a80]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4e9afb
mov ebp, dword [esp + 0x68]
jmp 0x4e9c36
cmp ebp, 0x13991ce1
jne 0x4e9a91
mov ebp, dword [esp + 0x68]
lea esi, [0x6c3e90]
cmp ebp, esi
jne 0x4e9c36
cmp ebx, esi
je 0x4e9a49
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004ff8f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6c4a50]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4e9afb
cmp ebp, 0x6d095bf6
jne 0x4e9c32
mov ebp, dword [esp + 0x68]
lea esi, [0x6c3e60]
cmp ebp, esi
jne 0x4e9c36
cmp ebx, esi
je 0x4e9ab5
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004f4510
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6c49f0]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4e9b30
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4e9b2c
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
lea eax, [0x6447c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x659983]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9b6d
mov dword [eax + 8], edx
jmp 0x4e9b7b
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.004626c0
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9b95
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4e9ba5
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.004626c0
mov eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9bbf
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1c], ecx
jmp 0x4e9bcf
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.004626c0
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov dword [eax + 0x20], ebx
mov ebx, dword [0x87bd00]
test ebx, ebx
jne 0x4e9be9
mov dword [eax + 0x24], ecx
jmp 0x4e9bf7
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.004626c0
mov eax, edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6c3874]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4e9c2e
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
mov ebp, dword [esp + 0x68]
lea eax, [0x6371c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x662b44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x87bd00]
test ebx, ebx
jne 0x4e9c77
mov dword [eax + 8], edx
jmp 0x4e9c81
lea edi, [eax + 8]
mov eax, edx
call fcn.004626c0
lea eax, [0x6447c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x659983]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9cbe
mov dword [eax + 8], edx
jmp 0x4e9ccc
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.004626c0
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9ce6
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4e9cf6
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.004626c0
mov eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9d10
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1c], ecx
jmp 0x4e9d20
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.004626c0
mov eax, ecx
lea ecx, [0x6c384c]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4e9d3c
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
jmp 0x4e9d4c
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.004626c0
mov eax, ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6c3874]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4e9d83
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
call fcn.004612b0
jmp fcn.004e97e0