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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4e6123
sub esp, 0xa0
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
test ebp, ebp
je 0x4e5a31
mov ecx, dword [ebx + 4]
mov eax, ebx
mov ebx, dword [ebx]
cmp ecx, 2
jl 0x4e5a0c
cmp byte [ebx], 0x2d
jne 0x4e5a0c
lea edi, [edx + 0x18]
cmp byte [ebx + 1], 0x2d
jne 0x4e58f1
cmp ecx, 2
je 0x4e58a2
mov dword [esp + 0x3c], eax
mov eax, 2
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x4e5902
lea ecx, [ebp - 1]
mov dword [edx + 0x1c], ecx
lea ecx, [esi - 1]
mov dword [edx + 0x20], ecx
mov ebx, dword [0x63b600]
neg ecx
sar ecx, 0x1f
and ecx, 8
add eax, ecx
test ebx, ebx
jne 0x4e58c7
mov dword [edx + 0x18], eax
jmp 0x4e58cc
call fcn.00461550
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0xa0
ret
mov dword [esp + 0x44], eax
mov eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x28]
sub ecx, esi
mov dword [esp + 0x2c], ecx
neg ecx
sar ecx, 0x1f
and esi, ecx
mov ecx, edx
lea edx, [esi + ebx]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4e597c
movzx esi, byte [ebx + esi]
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
je 0x4e597c
xchg esi, eax
cmp al, 0x3d
xchg esi, eax
je 0x4e597c
lea ebx, [ebp - 1]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esp + 0x38]
dec ebx
mov dword [ecx + 0x20], ebx
mov ebp, dword [0x63b600]
neg ebx
sar ebx, 0x1f
and ebx, 8
add eax, ebx
test ebp, ebp
jne 0x4e5965
mov dword [ecx + 0x18], eax
jmp 0x4e596a
call fcn.00461550
mov dword [esp + 0x6c], edi
mov ebx, dword [esp + 0x50]
mov eax, 1
jmp 0x4e5a57
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409060
mov eax, dword [esp + 8]
lea ecx, [0x4f63e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea eax, [0x510ace]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e5730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0xa0
ret
inc eax
mov dword [esp + 0x30], eax
cmp eax, edx
jge 0x4e5a86
jae 0x4e611b
lea ebp, [eax + ebx]
cmp byte [ebp], 0x3d
jne 0x4e5a56
sub edx, eax
dec edx
mov esi, edx
neg edx
sar edx, 0x1f
lea edi, [eax + 1]
and edi, edx
lea edx, [ebx + edi]
mov ebp, edx
mov edx, eax
jmp 0x4e5a8a
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], ebp
mov eax, dword [ecx + 0x14]
lea edi, [0x4f6ca0]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040f1b0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
jne 0x4e5baf
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x4e5add
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 0x706c6568
je 0x4e5aeb
jmp 0x4e5ae1
mov ecx, dword [esp + 0x50]
cmp eax, 1
jne 0x4e5b23
cmp byte [ecx], 0x68
jne 0x4e5b23
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.004e57f0
mov eax, dword [0x616288]
mov ecx, dword [0x61628c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409060
mov eax, dword [esp + 8]
lea ecx, [0x4f63e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea eax, [0x515c9a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e5730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov dword [esp + 0x58], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x4fb060]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409270
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4e5bdf
xor edx, edx
jmp 0x4e5bfe
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x34]
test dl, dl
je 0x4e5e2f
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jge 0x4e5d2e
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4e5ef1
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046172a
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00409060
mov ecx, dword [esp + 8]
lea edx, [0x4f63e0]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00409060
mov ecx, dword [esp + 8]
lea edx, [0x4f63e0]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4e5cbb
mov ecx, dword [ecx + 4]
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea eax, [0x516299]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004e5730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
lea ecx, [0x50cd64]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4e5ef1
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00409060
mov eax, dword [esp + 8]
lea ecx, [0x4f63e0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e5dbd
mov ecx, dword [eax + 4]
jmp 0x4e5dbf
mov ecx, eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea eax, [0x513d30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004e5730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
setl cl
jge 0x4e5e51
mov edx, dword [esp + 0xa4]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
jmp 0x4e5eb3
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
test ebp, ebp
je 0x4e5ea9
mov ecx, dword [ebx]
mov eax, ecx
mov ecx, dword [ebx + 4]
dec ebp
mov dword [edx + 0x1c], ebp
lea ebp, [esi - 1]
mov dword [edx + 0x20], ebp
mov esi, dword [0x63b600]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
add ebx, ebp
test esi, esi
jne 0x4e5e93
mov dword [edx + 0x18], ebx
jmp 0x4e5ea2
mov edi, dword [esp + 0x6c]
mov ebp, eax
mov eax, ebx
call fcn.00461550
mov eax, ebp
mov ebx, 1
jmp 0x4e5eb3
mov ebx, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
test bl, bl
je 0x4e6087
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x4e5f9b
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4e5f30
call fcn.0040c200
mov eax, dword [0x63b600]
mov ecx, dword [esp]
test eax, eax
jne 0x4e5f1d
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x10], ecx
jmp 0x4e5f30
mov edx, dword [esp + 0xa4]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.00461550
mov eax, edx
mov eax, dword [eax + 0x10]
lea ecx, [0x4f6ca0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.0040f510
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x63b600]
test eax, eax
jne 0x4e5f6d
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x4e5f76
mov eax, dword [esp + 0x58]
call fcn.00461550
mov byte [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0xa0
ret
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], ecx
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046172a
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00409060
mov ecx, dword [esp + 8]
lea edx, [0x4f63e0]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00409060
mov ecx, dword [esp + 8]
lea edx, [0x4f63e0]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4e6014
mov ecx, dword [ecx + 4]
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea eax, [0x515895]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004e5730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00409060
mov eax, dword [esp + 8]
lea ecx, [0x4f63e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea eax, [0x513cc4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e5730
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0xa0
ret
mov ecx, edx
call fcn.004615d0
nop
call fcn.00460140
jmp fcn.004e5830