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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x4f8d0f
sub esp, 0xe0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x14], edx
mov ebx, dword [0xb78fa8]
mov ebp, dword [0xb78fa4]
mov esi, dword [0xb78fa0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
call fcn.004ee890
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb4], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004f2500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004f2850
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xb0], edx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x88]
mov dword [esp + 0x14], esi
mov edi, dword [0xb78fc8]
mov esi, dword [0xb78fc4]
mov ebp, dword [0xb78fc0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call fcn.004ee890
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xe8]
test ebx, ebx
jbe 0x4f8d08
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004dda10
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
lea edx, [0x7dcf60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407a00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0xc4]
mov edx, eax
xor eax, eax
call fcn.0044ca89
lea edi, [esp + 0xc4]
call fcn.0044ca89
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
mov eax, dword [esp + 0x5c]
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4f8cf3
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + eax*4 - 4]
cmp ebx, 0x10000
jb 0x4f8cec
shr ebx, 0x10
mov ebp, 0x10
cmp ebx, 0x100
jb 0x4f87b9
shr ebx, 8
add ebp, 8
cmp ebx, 0x100
jae 0x4f8d01
shl ecx, 5
lea esi, [0xb49640]
movzx ebx, byte [esi + ebx]
add ebx, ebp
add ecx, ebx
mov dword [esp + 0x80], ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0xc0], ebx
xor ebp, ebp
mov dword [esp + 0x50], ebp
xor ebx, ebx
mov dword [esp + 0xbc], ebx
xor ebx, ebx
mov dword [esp + 0x70], ebx
xor ebx, ebx
mov dword [esp + 0x74], ebx
xor ebx, ebx
xor ebp, ebp
jmp 0x4f885e
mov edi, dword [esp + 0x94]
inc edi
mov dword [esp + 0x54], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xa0]
mov ebx, edi
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0xf0]
cmp ebx, ecx
jge 0x4f8cdd
mov dword [esp + 0x94], ebx
dec ecx
cmp ecx, ebx
jne 0x4f8c50
movzx ecx, byte [esp + 0xf4]
test cl, cl
je 0x4f8c50
mov esi, dword [0xb78fc4]
mov dword [esp + 0x48], esi
mov eax, dword [0xb78fc0]
cmp esi, edi
jg 0x4f8c02
mov edx, dword [esp + 0x48]
cmp esi, edx
jle 0x4f8bfb
mov dword [esp + 0x4c], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0xb8], ebp
cmp ebp, eax
je 0x4f88da
mov dword [esp], ebp
mov dword [esp + 4], eax
shl edx, 2
mov dword [esp + 8], edx
call fcn.0044d190
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0xb8], edx
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0xec]
mov dword [esp + 0x2c], edi
call fcn.004f37d0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x54], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [0xb78fa8]
mov ebp, dword [0xb78fa4]
mov esi, dword [0xb78fa0]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004eeb00
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4f89d6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0xbc]
jmp 0x4f8815
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x88]
mov dword [esp + 0x14], esi
call fcn.004eeb00
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f89b3
mov eax, 1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0xbc]
jmp 0x4f8a69
mov eax, dword [esp + 0x90]
inc eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x8c]
cmp eax, ebp
jae 0x4f8bec
mov dword [esp + 0x90], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0xc0], edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.004f0ad0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x2c], edx
call fcn.004f1660
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x9c], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x14], edi
call fcn.004eeb00
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f8bc9
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [0xb78fa0]
mov ebp, dword [0xb78fa4]
mov esi, dword [0xb78fa8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004eeb00
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4f8a43
mov byte [esp + 0xf8], 0
add esp, 0xe0
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0xac]
jmp 0x4f8815
mov byte [esp + 0xf8], 0
add esp, 0xe0
ret
mov edx, esi
jmp 0x4f88b1
mov dword [esp + 0xa4], eax
lea eax, [0x7b4160]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
call fcn.00438a20
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0xf4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x94]
jmp 0x4f88a5
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x1c], ebp
call fcn.004f35b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [0xb78fc8]
mov ecx, dword [0xb78fc4]
mov edx, dword [0xb78fc0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.004ee5e0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
jmp 0x4f88ec
mov byte [esp + 0xf8], 1
add esp, 0xe0
ret
xor ebp, ebp
jmp 0x4f87ab
mov edx, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4f87d6
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.0044b230
jmp fcn.004f8550