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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4e83c0
sub esp, 0x94
mov byte [esp + 0x27], 1
mov byte [esp + 0x26], 1
jmp 0x4e7e1a
jmp 0x4e7e1c
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x3c], eax
cmp eax, 0xc
jle 0x4e7e35
jmp 0x4e7e8d
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004e9ca0
add esp, 0x94
ret
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4e7e9a
jmp 0x4e7ef3
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004e98d0
add esp, 0x94
ret
movzx eax, byte [esp + 0x27]
test al, al
jne 0x4e7efe
jmp 0x4e7f00
jmp 0x4e7f5b
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004e9750
dec dword [esp + 0xb0]
jmp 0x4e7f5b
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0xc]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004e9250
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], eax
cmp eax, 2
je 0x4e7fd4
jmp 0x4e8049
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004e9180
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0xa8]
sub eax, ecx
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], 1
jmp 0x4e804b
jmp 0x4e804b
movzx edx, byte [esp + 0x27]
mov byte [esp + 0x29], dl
test dl, dl
jne 0x4e805a
jmp 0x4e8065
movzx edx, byte [esp + 0x26]
mov byte [esp + 0x29], dl
jmp 0x4e8067
jmp 0x4e8067
movzx edx, byte [esp + 0x29]
mov byte [esp + 0x2a], dl
test dl, dl
jne 0x4e8076
jmp 0x4e8084
cmp dword [esp + 0x44], 1
sete dl
mov byte [esp + 0x2a], dl
jmp 0x4e8086
jmp 0x4e8086
movzx edx, byte [esp + 0x2a]
test dl, dl
jne 0x4e8091
jmp 0x4e80f8
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x14]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004e8d40
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x29], al
test al, al
jne 0x4e80ef
jmp 0x4e80f6
add esp, 0x94
ret
jmp 0x4e80fa
jmp 0x4e80fa
mov edx, dword [esp + 0xa8]
test edx, edx
setg dl
mov byte [esp + 0x29], dl
jg 0x4e8111
jmp 0x4e8193
mov edx, dword [esp + 0x98]
test byte [edx], al
mov edx, dword [edx + 0x18]
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa8]
lea eax, [ebp - 1]
cmp ecx, eax
ja 0x4e8142
jmp 0x4e83ba
lea ebx, [ebx + ebp*4 - 4]
mov ebx, dword [ebx]
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
cmp ecx, eax
ja 0x4e8167
jmp 0x4e83b5
lea eax, [ebp + eax*4]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004e8c50
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x2a], al
xor eax, 1
mov byte [esp + 0x29], al
jmp 0x4e8195
jmp 0x4e8195
movzx eax, byte [esp + 0x29]
test al, al
jne 0x4e81a0
jmp 0x4e820b
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.004e89a0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0xa8], eax
jmp 0x4e83b0
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x20]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.004e83d0
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov dword [esp + 0x58], eax
mov byte [esp + 0x29], cl
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
movzx eax, byte [esp + 0x29]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
movzx ecx, byte [esp + 0x2b]
mov byte [esp + 0x28], cl
mov byte [esp + 0x26], cl
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0xa8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xac]
sub edx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x3c]
mov ebx, eax
sar eax, 0x1f
shr eax, 0x1d
add eax, ebx
sar eax, 3
mov dword [esp + 0x48], eax
cmp ecx, edx
jl 0x4e82d0
jmp 0x4e833e
cmp ecx, eax
setge al
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x24]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.004e7df0
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0xa8], eax
jmp 0x4e83ae
cmp eax, edx
setle al
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x24]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea eax, [edi + 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.004e7df0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], eax
jmp 0x4e83ae
jmp 0x4e83b0
jmp 0x4e7e1a
call fcn.00475830
call fcn.00475830
nop
call fcn.004743b0
jmp fcn.004e7df0