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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4e346e
sub esp, 0x8c
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4e3051
mov ecx, dword [esp + 0xb8]
dec ecx
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x90]
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
jmp 0x4e3367
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0xa8]
cmp ebp, 0xa
je 0x4e3170
jmp 0x4e308b
mov ebp, esi
mov ecx, dword [esp + 0x7c]
mov edx, ebx
mov ebx, eax
mov eax, edi
test ecx, ecx
je 0x4e30fc
mov dword [esp + 0x58], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
call fcn.004e3cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
jmp 0x4e314b
mov ecx, dword [esp + 0x9c]
jmp 0x4e310b
mov byte [eax + ecx - 1], 0x30
dec eax
test eax, eax
jg 0x4e3105
add esp, 0x8c
ret
mov eax, ecx
xor edx, edx
div esi
lea eax, [0x718bc2]
movzx edx, byte [eax + edx]
mov byte [edi + ebp - 1], dl
mov edx, dword [esp + 0x50]
dec edx
mov dword [esp + 0x50], edx
dec edi
mov eax, ecx
xor edx, edx
div esi
mov edx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
mov ecx, eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
test edx, edx
jle 0x4e307f
test edi, edi
jle 0x4e307f
test esi, esi
jne 0x4e3116
call fcn.0043a740
mov ecx, edx
mov edx, ebx
mov ebx, eax
mov eax, esi
test ecx, ecx
je 0x4e30fc
mov dword [esp + 0x58], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
call fcn.004e3cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0xac]
jmp 0x4e31f5
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
shl eax, 1
sub ecx, eax
lea eax, [ecx + 0x30]
mov byte [esi + ebp - 1], al
dec edi
dec esi
mov eax, dword [esp + 0x88]
mov ecx, edx
mov edx, dword [esp + 0x7c]
test edi, edi
jle 0x4e3168
test esi, esi
jg 0x4e31ce
jmp 0x4e3168
mov dword [esp + 0x54], eax
lea ecx, [eax + eax*4]
mov dword [esp + 0x6c], ecx
mov ebx, dword [edx + ecx*4 + 4]
mov ebp, dword [edx + ecx*4 + 8]
mov esi, dword [edx + ecx*4]
mov edi, dword [esp + 0x88]
mov dword [esp], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
call fcn.004e3a70
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0xb4]
mov ebx, dword [ebp + ebx*4 + 0x10]
mov esi, dword [esp + 0x7c]
mov edi, esi
sub esi, ebx
mov dword [esp + 0x5c], esi
mov ebx, dword [esp + 0xa4]
sub ebx, esi
mov dword [esp + 0x7c], ebx
sub edi, esi
neg ebx
sar ebx, 0x1f
and ebx, esi
mov esi, dword [esp + 0x9c]
add ebx, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x68], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x2c], ebp
call fcn.004e2fe0
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb4]
cmp dword [0x87b3d4], edx
jge 0x4e342c
mov dword [esp + 0x54], ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004ded20
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 1
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x54]
jmp 0x4e343c
lea eax, [ebx + ebx*4]
lea ebp, [edx + eax*4 + 0xc]
cmp dword [ebp], ecx
jge 0x4e33c6
xor eax, eax
jmp 0x4e3414
mov dword [esp + 0x70], ebx
mov ecx, dword [edx + eax*4]
mov ebx, dword [edx + eax*4 + 4]
mov eax, dword [edx + eax*4 + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
call fcn.004dcb50
mov eax, dword [esp + 0x18]
test eax, eax
setge al
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x70]
test al, al
je 0x4e3425
lea eax, [ebx - 1]
test eax, eax
jge 0x4e3206
jmp 0x4e3455
mov eax, ebx
jmp 0x4e3206
mov eax, dword [esp + 0x7c]
mov ecx, edx
mov edx, ebx
mov ebx, ebp
jmp 0x4e306d
dec ebx
test ebx, ebx
jle 0x4e33b6
lea ebp, [ebx + ebx*4]
lea ebp, [edx + ebp*4 - 8]
cmp dword [ebp], eax
jg 0x4e343b
jmp 0x4e33b6
lea eax, [0x6c0080]
mov dword [esp], eax
lea eax, [0x733e88]
mov dword [esp + 4], eax
call fcn.00470a40
nop
call fcn.00475ee0
jmp fcn.004e2fe0