Function at 0x4e4250
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 0x4e45cd
sub esp, 0x74
mov eax, dword [esp + 0x94]
lea ecx, [eax + 1]
mov dword [esp], ecx
call fcn.004debf0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + ecx*4 - 4]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x88]
sub ebp, ecx
mov dword [esp + 0x50], ebp
mov edi, dword [eax + 4]
mov dword [esp + 0x40], edi
mov edi, dword [eax]
mov dword [esp + 0x6c], edi
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov dword [esp], ebx
call fcn.004d8e80
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x50]
jmp 0x4e42d3
dec ecx
mov eax, dword [esp + 0x38]
test ecx, ecx
jl 0x4e454f
mov edx, dword [esp + 0x94]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x88]
cmp ebp, ebx
jle 0x4e42fc
mov esi, dword [esp + 0x84]
mov edi, dword [esi + ebx*4]
jmp 0x4e4305
mov esi, dword [esp + 0x84]
xor edi, edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x2c]
cmp edi, ebx
jne 0x4e431f
mov edi, 0xffffffff
jmp 0x4e43b0
lea ebp, [ecx + edx - 1]
mov ebp, dword [esi + ebp*4]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004d8cf0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + ecx*4 - 8]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x54]
lea esi, [ebp + ecx - 2]
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], edi
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004d8c60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x84]
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x30], edx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
jmp 0x4e458b
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0
call fcn.004e55e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x6c]
mov dword [edx + ecx*4], eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
lea esi, [ebp + ebx]
mov edi, dword [esp + 0x88]
cmp edi, esi
jge 0x4e4424
test eax, eax
jne 0x4e4424
lea eax, [ebp - 1]
jmp 0x4e4426
mov eax, ebp
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x8c]
sub ecx, ebx
mov dword [esp + 0x60], ecx
neg ecx
shl ebx, 2
sar ecx, 0x1f
and ecx, ebx
mov ebx, dword [esp + 0x84]
add ecx, ebx
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov esi, dword [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x54]
sub edi, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x20], ebp
call fcn.004e54a0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4e44a4
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0x48]
jmp 0x4e451e
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x20], edx
call fcn.004e5460
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jge 0x4e4510
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x84]
add dword [ebx + edx*4], ecx
jmp 0x4e4517
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
lea edi, [ecx - 1]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jne 0x4e453f
mov ebp, dword [esp + 0x7c]
cmp ebp, edx
jne 0x4e4543
test edi, edi
jne 0x4e4543
mov esi, dword [esp + 0x78]
jmp 0x4e42ce
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esi + ecx*4], edi
jmp 0x4e42ce
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004dece0
add esp, 0x74
ret
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], edx
mov dword [esp], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004d8c60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.004e45e0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4e439f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x48]
dec ebx
cmp ecx, edx
jbe 0x4e455f
jmp 0x4e43a7
call fcn.00475ee0
jmp fcn.004e4250