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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e8000
sub esp, 0x64
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e7fb0
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4e7f95
xor edx, edx
test edx, edx
jge 0x4e7dc2
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
nop
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x4e7b52
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jg 0x4e7d38
mov ebp, edx
xor esi, esi
xor edi, edi
cmp ebp, edx
jge 0x4e7d31
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], esi
cmp ebx, esi
je 0x4e7b2f
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045e7b0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
mov byte [esp + 0x54], al
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4e7d2a
movzx eax, byte [esp + 0x54]
xor eax, 1
mov byte [esp + 0x54], al
mov eax, dword [0x7829cc]
lea ecx, [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5be0
nop
mov eax, dword [esp + 0x5c]
lea ecx, [0x5db380]
mov dword [esp], ecx
shl eax, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004d17e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x4e7ffa
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x50]
lea ebp, [ebx + eax]
xor ecx, ecx
jmp 0x4e7c0a
movzx esi, byte [ecx + ebp]
xor esi, 0xffffffff
xchg esi, eax
mov byte [ebp + ecx], al
xchg esi, eax
inc ecx
cmp edx, ecx
jle 0x4e7c15
ja 0x4e7bfc
jmp 0x4e7ff1
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ebp
test edx, edx
jne 0x4e7ce7
lea eax, [0x5d6c80]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x77d304]
mov edx, dword [0x77d300]
mov dword [eax], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x4e7cd8
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x65ff88]
mov edx, dword [esp + 0x4c]
mov dword [edx + 8], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4e7cce
mov dword [edx + 0xc], eax
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x65ffb8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
lea edi, [edx + 0xc]
call fcn.0045de10
jmp 0x4e7c90
lea edi, [eax + 4]
mov eax, ecx
call fcn.0045de10
jmp 0x4e7c5a
movzx eax, byte [eax + ebx]
test al, 0x80
je 0x4e7c25
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x65ff88]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
xor eax, eax
jmp 0x4e7b66
mov ebp, edx
jmp 0x4e7b0c
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ebx
cmp edx, 1
jne 0x4e7d86
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004450a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov edx, 1
mov edi, 1
jmp 0x4e7b04
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004450a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov edx, ebp
mov edi, dword [esp + 0x28]
jmp 0x4e7b04
test ecx, ecx
jne 0x4e7f7a
xor edx, edx
test edx, edx
je 0x4e7f52
nop
lea eax, [0x5db380]
mov dword [esp], eax
shl ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004d17e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x4e7fec
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x50]
lea ebx, [ecx + eax]
test edx, edx
jle 0x4e7e52
movzx eax, byte [eax + ecx]
test al, 0x80
jne 0x4e7e88
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x65ff88]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], ebx
lea eax, [0x5d6c80]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [0x77d2fc]
mov edx, dword [0x77d2f8]
mov dword [eax], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x4e7f43
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x65ff88]
mov edx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4e7f39
mov dword [edx + 0xc], eax
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x65ffb8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
lea edi, [edx + 0xc]
call fcn.0045de10
jmp 0x4e7efb
lea edi, [eax + 4]
mov eax, ecx
call fcn.0045de10
jmp 0x4e7ec5
mov eax, dword [0x77d2f8]
mov ecx, dword [0x77d2fc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
movzx edx, byte [eax]
test dl, dl
je 0x4e7f8b
mov edx, 0xffffffff
jmp 0x4e7dcc
mov edx, 1
jmp 0x4e7dcc
movzx edx, byte [eax]
test dl, dl
je 0x4e7fa6
mov edx, 0xffffffff
jmp 0x4e7ac2
mov edx, 1
jmp 0x4e7ac2
lea eax, [0x611665]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00409130
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x65ed5c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x64
ret
call fcn.0045def0
mov eax, ecx
mov ecx, edx
call fcn.0045de90
call fcn.0045def0
nop
call fcn.0045c8b0
jmp fcn.004e7a90