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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ee3c0
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov eax, 1
mov byte [esp + 0x27], al
mov eax, 1
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x40]
jmp 0x4ee029
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, ecx
mov ebp, dword [esp + 0x4c]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x58], esi
sub esi, edi
cmp esi, 0xc
jle 0x4ee39a
test ebp, ebp
je 0x4ee373
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], edi
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ee095
mov dword [esp + 0x50], ebp
mov ebp, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
call fcn.004ef0b0
mov eax, dword [esp + 0x50]
lea ebp, [eax - 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], ebp
mov esi, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call fcn.004eed20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, 2
je 0x4ee0de
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebx, dword [esp + 0x58]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x4ee13a
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call fcn.004eec70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov edx, dword [esp + 0x58]
mov ebx, edx
sub edx, eax
lea eax, [edx - 1]
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebp, 1
mov dword [esp + 0x48], eax
je 0x4ee1a4
movzx esi, byte [esp + 0x26]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ee1a9
cmp ebp, 1
jne 0x4ee1a9
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.004ee940
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4ee36f
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
jmp 0x4ee1a9
movzx esi, byte [esp + 0x26]
test ecx, ecx
jg 0x4ee1b1
xor ebp, ebp
jmp 0x4ee206
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x18]
mov ebp, dword [esp + 0x64]
lea esi, [ebp + ecx*8 - 8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
lea eax, [ebp + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004ede90
movzx eax, byte [esp + 0x14]
xor eax, 1
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
mov ebp, eax
mov eax, dword [esp + 0x48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ee258
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x1c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004ee770
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x58]
movzx eax, byte [esp + 0x27]
movzx edx, byte [esp + 0x26]
jmp 0x4edfff
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004ee3d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x58]
mov ebp, ebx
sub ebx, edx
movzx esi, byte [esp + 0x20]
xchg esi, eax
mov byte [esp + 0x26], al
xchg esi, eax
mov edi, dword [esp + 0x34]
sar edi, 3
mov dword [esp + 0x3c], edi
cmp ebx, eax
jle 0x4ee312
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0x24]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
call fcn.004edfb0
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
setle al
mov ecx, dword [esp + 0x58]
jmp 0x4ee365
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x18], ebp
call fcn.004edfb0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
setle al
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x26]
jmp 0x4edfff
add esp, 0x5c
ret
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004ef1d0
add esp, 0x5c
ret
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004ef4a0
add esp, 0x5c
ret
call fcn.00475ee0
jmp fcn.004edfb0