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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x4e0ff4
sub esp, 0xd8
mov eax, dword [esp + 0xf8]
cmp eax, 1
jle 0x4e0fdb
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx]
test edx, 1
je 0x4e07e2
mov edx, dword [esp + 0x100]
cmp edx, 1
je 0x4e078d
lea eax, [edx + 0x1f]
shr eax, 5
mov dword [esp + 0x80], eax
mov dword [esp], eax
call fcn.004debf0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], ebx
lea edi, [esp + 0x8c]
mov ebp, eax
xor eax, eax
call fcn.004773d0
xor eax, eax
jmp 0x4e086b
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
add esp, 0xd8
ret
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
add esp, 0xd8
ret
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004debf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [esp + ecx*4 + 0x8c], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x84]
cmp eax, 0x10
jl 0x4e0837
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [0x8a2130]
mov ebp, dword [0x8a2134]
mov esi, dword [0x8a2138]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004dc660
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x8c88d8]
test ecx, ecx
je 0x4e08dc
call fcn.004772f0
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [eax], ebx
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x18], ebx
call fcn.004df3c0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x8c88d8]
test ecx, ecx
je 0x4e0958
call fcn.004772f0
mov dword [edi], ebx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ebx
mov eax, 2
jmp 0x4e096a
mov dword [ebx], edx
mov edx, dword [esp + 0x50]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x4e0b34
mov dword [esp + 0x50], eax
mov ecx, eax
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov eax, dword [esp + eax*4 + 0x8c]
mov edx, dword [esp + ecx*4 + 0x8c]
mov dword [esp + 0xd0], edx
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + ecx*4 + 0x90]
mov dword [esp + 0xcc], ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.004de680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xd0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x8c88d8]
test ebp, ebp
je 0x4e09fe
call fcn.004772f0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xd0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x8c88d8]
test ebp, ebp
je 0x4e0a56
call fcn.004772f0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov ebx, dword [esp + 0xcc]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x20], edx
call fcn.004dd980
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xcc]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x8c88d8]
test ebp, ebp
je 0x4e0ad3
call fcn.004772f0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xcc]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov eax, dword [0x8c88d8]
test eax, eax
je 0x4e0961
call fcn.004772f0
mov dword [edi], edx
mov eax, dword [ebx]
mov dword [edi + 4], eax
jmp 0x4e0961
mov eax, dword [esp + 0x100]
lea ecx, [eax - 1]
test ecx, 0x1f
je 0x4e0b50
mov edx, 1
shl edx, cl
dec edx
jmp 0x4e0b55
mov edx, 0xffffffff
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0xf8]
dec ecx
lea ebx, [eax - 2]
shr ebx, 5
mov dword [esp + 0x80], ebx
cmp ebx, ecx
jl 0x4e0b74
mov ebx, ecx
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xf4]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x60], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x60]
jmp 0x4e0bf4
lea ebx, [eax - 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0xd4]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jl 0x4e0c20
mov ebp, dword [ebp + eax*4]
cmp eax, esi
jne 0x4e0c0d
and ebp, ebx
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
jmp 0x4e0dc4
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov eax, dword [0x8c88d8]
test eax, eax
jne 0x4e0c4c
mov eax, dword [esp + 0x88]
jmp 0x4e0c5f
call fcn.004772f0
mov eax, dword [esp + 0x88]
mov dword [edi], eax
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], eax
mov dword [esp], ebx
call fcn.004dece0
xor eax, eax
jmp 0x4e0c85
mov dword [esp + 0x48], eax
mov ecx, dword [esp + eax*4 + 0x8c]
mov dword [esp], ecx
call fcn.004dece0
mov eax, dword [esp + 0x48]
inc eax
cmp eax, 0x10
jl 0x4e0c6d
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004dc410
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
add esp, 0xd8
ret
mov dword [esp + 0xd4], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], edx
shr ebp, 0x1c
mov ebx, dword [esp + ebp*4 + 0x8c]
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x44]
add eax, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
shl ebp, 4
mov esi, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov edi, 1
xchg edi, eax
mov byte [esp + 0x33], al
xchg edi, eax
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x88], esi
mov dword [esp + 0xd4], ecx
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, ebx
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
cmp ebx, 0x20
jge 0x4e0bd7
mov dword [esp + 0x3c], ebp
movzx esi, byte [esp + 0x33]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4e0dec
mov esi, dword [esp + 0xd4]
jmp 0x4e0cd1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004de680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0xd4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004de680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004de680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0xd4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004de680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
call fcn.004df3c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov edi, dword [esp + 0x38]
jmp 0x4e0cd1
lea eax, [0x6c0080]
mov dword [esp], eax
lea eax, [0x733e70]
mov dword [esp + 4], eax
call fcn.00470a40
nop
call fcn.00475ee0
jmp fcn.004e06f0