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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x84]
cmp eax, dword [ecx + 8]
jbe 0x4e8f7d
sub esp, 0x104
mov eax, dword [0x6fcf80]
mov ecx, dword [0x6fcf84]
mov edx, dword [0x6fcf88]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x10c]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x110]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004dde70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
test ecx, ecx
je 0x4e8f59
xor ebx, ebx
jmp 0x4e8757
inc ebx
cmp ebx, ecx
jae 0x4e8f75
mov ebp, dword [edx + ebx*4]
test ebp, ebp
je 0x4e8756
shl ebx, 5
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
and esi, ebp
imul ebp, esi, 0x77cb531
shr ebp, 0x1b
lea esi, [0x6de680]
movzx ebp, byte [ebp + esi]
add ebx, ebp
nop
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0x84], eax
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.004e34d0
mov eax, dword [0x6fcf90]
mov ecx, dword [0x6fcf94]
mov edx, dword [0x6fcf98]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xe0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x98], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x9c], esi
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov edi, dword [esp + 0xd0]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004dde70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jbe 0x4e8f6c
mov dword [esp + 0x7c], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [esp + 0x108]
mov eax, dword [eax]
mov dword [esp + 0xb0], eax
lea ecx, [0x5b72c0]
mov dword [esp], ecx
call fcn.0040b910
mov eax, dword [esp + 4]
mov dword [esp + 0xe4], eax
mov dword [esp], eax
mov dword [esp + 8], 0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
call fcn.004d8ea0
lea eax, [0x5b10a0]
mov dword [esp], eax
lea eax, [0x61165c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.00409490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xd4], ecx
lea edi, [esp + 0xe8]
mov edx, eax
xor eax, eax
call fcn.0045e499
lea eax, [0x61165c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x74]
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4e8f4b
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx + eax*4 - 4]
nop
cmp ebx, 0x10000
jb 0x4e8f44
shr ebx, 0x10
mov ebp, 0x10
cmp ebx, 0x100
jb 0x4e8965
shr ebx, 8
add ebp, 8
cmp ebx, 0x100
jae 0x4e8f60
shl ecx, 5
lea esi, [0x6e2360]
movzx ebx, byte [ebx + esi]
add ebx, ebp
add ecx, ebx
mov dword [esp + 0xa0], ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov dword [esp + 0x6c], ebx
xor ebx, ebx
mov dword [esp + 0xb8], ebx
xor esi, esi
mov dword [esp + 0x8c], esi
xor ebx, ebx
mov dword [esp + 0x90], ebx
xor ebx, ebx
mov dword [esp + 0xdc], ebx
xor ebx, ebx
xor esi, esi
jmp 0x4e8a19
mov edi, dword [esp + 0xac]
inc edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0xdc], esi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xc4]
mov ebx, edi
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x114]
cmp ecx, ebx
jle 0x4e8f35
mov dword [esp + 0xac], ebx
dec ecx
cmp ebx, ecx
jne 0x4e8ea8
movzx ecx, byte [esp + 0x118]
test cl, cl
je 0x4e8ea8
mov edi, dword [0x6fcf94]
mov dword [esp + 0x48], edi
mov eax, dword [0x6fcf90]
cmp ebp, edi
jl 0x4e8e03
mov edx, dword [esp + 0x48]
cmp edi, edx
jle 0x4e8dfc
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0xb4], esi
cmp esi, eax
je 0x4e8a92
mov dword [esp], esi
mov dword [esp + 4], eax
shl edx, 2
mov dword [esp + 8], edx
call fcn.0045eba0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x108]
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x10c]
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0x110]
mov dword [esp + 0x2c], ebp
call fcn.004e3b00
mov eax, dword [0x6fcf80]
mov ecx, dword [0x6fcf84]
mov edx, dword [0x6fcf88]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xbc], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x64], esi
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004de190
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4e8db1
mov eax, 1
test al, al
je 0x4e8ba7
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0xdc]
jmp 0x4e89c7
mov eax, 1
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0xdc]
jmp 0x4e8bfe
mov eax, dword [esp + 0xa8]
inc eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x90], ebp
mov ebp, dword [esp + 0xa4]
cmp ebp, eax
jbe 0x4e8da2
mov dword [esp + 0xa8], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0xdc], edi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004e0460
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xdc]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x108]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x2c], edx
call fcn.004e0f20
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x94], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc0], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x68], esi
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov edi, dword [esp + 0xd0]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], edi
call fcn.004de190
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e8d79
mov eax, dword [0x6fcf80]
mov ecx, dword [0x6fcf84]
mov edx, dword [0x6fcf88]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004de190
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4e8bd2
mov byte [esp + 0x11c], 0
add esp, 0x104
ret
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0xd8]
jmp 0x4e89c7
mov byte [esp + 0x11c], 0
add esp, 0x104
ret
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], esi
call fcn.004de190
mov eax, dword [esp + 0x18]
test eax, eax
sete al
jmp 0x4e8b7a
mov edx, edi
jmp 0x4e8a6c
mov dword [esp + 0xcc], eax
cmp edi, 1
jne 0x4e8e5d
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xcc]
movzx ecx, byte [esp + 0x118]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xac]
mov edi, 1
mov ebp, 1
jmp 0x4e8a60
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [edi + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xcc]
movzx ecx, byte [esp + 0x118]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xac]
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x50]
jmp 0x4e8a60
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea ecx, [esp + 0xe8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x1c], ebp
call fcn.004e38a0
mov eax, dword [0x6fcf90]
mov ecx, dword [0x6fcf94]
mov edx, dword [0x6fcf98]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004ddb50
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x4e8aa1
mov byte [esp + 0x11c], 1
add esp, 0x104
ret
xor ebp, ebp
jmp 0x4e8957
mov edx, dword [esp + 0xc4]
xor ecx, ecx
jmp 0x4e8982
xor ebx, ebx
jmp 0x4e878a
mov eax, ebx
mov ecx, 0x100
call fcn.0045e2b0
xor eax, eax
mov ecx, ebx
call fcn.0045e2a0
mov eax, ebx
call fcn.0045e2b0
nop
call fcn.0045ccc0
jmp fcn.004e86c0