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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4fa358
sub esp, 0xa8
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4fa2e5
mov ecx, dword [esp + 0xd4]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x4c], ebx
xor ebp, ebp
mov dword [esp + 0xa4], ebp
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
jmp 0x4f9f31
mov ebp, esi
test ebp, ebp
jle 0x4f9d7f
lea esi, [ebp - 1]
cmp esi, edx
jae 0x4fa351
lea edi, [ebp + ebp*4]
mov edi, dword [ebx + edi*4 - 8]
cmp edi, eax
jg 0x4f9d62
cmp ebp, edx
jae 0x4fa34a
lea eax, [ebp + ebp*4]
mov esi, dword [ebx + eax*4 + 0xc]
cmp esi, ecx
jge 0x4f9f85
cmp ebp, edx
jae 0x4fa329
mov dword [esp + 0x60], ebp
lea eax, [ebp + ebp*4]
mov dword [esp + 0x70], eax
mov ecx, dword [ebx + eax*4 + 4]
mov edx, dword [ebx + eax*4]
mov esi, dword [ebx + eax*4 + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x78]
mov dword [esp + 8], esi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call fcn.004f43a0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xb0], edx
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0xd0]
mov edi, dword [ecx + edi*4 + 0x10]
mov edx, dword [esp + 0xbc]
sub edx, edi
mov edi, dword [esp + 0xbc]
cmp edx, edi
ja 0x4fa322
mov dword [esp + 0x9c], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], esi
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebx, dword [esp + 0xc0]
sub ebx, edx
mov dword [esp + 0x70], ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
mov eax, dword [esp + 0xb8]
add ebx, eax
mov dword [esp + 0xc], ebx
sub edi, edx
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x2c], eax
call fcn.004f9cf0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x50], edi
mov edi, dword [0x9c20f8]
cmp esi, edi
jle 0x4fa000
mov dword [esp + 0x78], ebx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x60], edx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004f51e0
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 1
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x60]
jmp 0x4f9d64
mov dword [esp + 0x6c], ebp
mov ecx, dword [ebx + eax*4 + 8]
mov edx, dword [ebx + eax*4 + 4]
mov eax, dword [ebx + eax*4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x14], edx
call fcn.004f20d0
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4f9fe9
mov eax, dword [esp + 0x6c]
dec eax
test eax, eax
jl 0x4fa330
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, eax
jmp 0x4f9d97
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x6c]
jmp 0x4f9d97
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0xc4]
cmp ecx, 0xa
jne 0x4fa17b
mov ecx, eax
jmp 0x4fa0af
add ecx, 0x30
mov byte [ebx + esi - 1], cl
mov ecx, dword [esp + 0x58]
inc ecx
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x58], ecx
mov edx, eax
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0xc8]
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
jge 0x4fa14b
mov ebx, dword [esp + 0x78]
test ebx, ebx
jle 0x4fa099
mov dword [esp + 0x54], edx
lea ebp, [ebx - 1]
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov eax, edx
lea edx, [edx + edx*4]
shl edx, 1
mov ecx, dword [esp + 0x54]
sub ecx, edx
cmp ebp, edi
jb 0x4fa025
jmp 0x4fa31b
mov ecx, edi
mov ebx, dword [esp + 0xb4]
mov esi, eax
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0x78]
test esi, esi
jle 0x4fa154
mov dword [esp + 0x64], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
call fcn.004f41c0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xb4], ebx
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
jmp 0x4fa05e
mov ebx, dword [esp + 0x78]
jmp 0x4fa099
mov edx, dword [esp + 0xb8]
jmp 0x4fa164
mov byte [eax + edx - 1], 0x30
mov eax, ebx
test eax, eax
jle 0x4fa174
lea ebx, [eax - 1]
cmp ebx, ecx
jb 0x4fa15d
jmp 0x4fa306
add esp, 0xa8
ret
mov edx, eax
jmp 0x4fa23c
mov byte [esp + 0x4b], dl
mov edx, dword [esp + 0xb8]
movzx eax, byte [esp + 0x4b]
mov byte [ebx + edx - 1], al
lea edx, [ecx + 1]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0xc4]
xor edx, edx
div ebx
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x5c]
cmp ecx, edi
jge 0x4fa2d5
mov edx, dword [esp + 0x78]
test edx, edx
jle 0x4fa226
test ebp, ebp
je 0x4fa314
mov dword [esp + 0x54], eax
xor edx, edx
div ebp
cmp edx, 0x3e
jae 0x4fa30d
mov ebx, dword [esp + 0x78]
lea edi, [ebx - 1]
lea ebp, [0x7ca9f1]
movzx edx, byte [ebp + edx]
cmp edi, esi
jb 0x4fa182
jmp 0x4fa30d
mov ecx, ebp
mov edx, esi
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0x78]
test esi, esi
jle 0x4fa2de
mov dword [esp + 0x64], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
call fcn.004f41c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xb0], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xb4], ebx
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
jmp 0x4fa1da
mov edx, dword [esp + 0x78]
jmp 0x4fa226
mov ecx, edx
jmp 0x4fa154
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
jmp 0x4fa007
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.00426a20
ud2
call fcn.00426960
ud2
call fcn.004269c0
ud2
call fcn.00426960
ud2
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [0x7ff778]
mov dword [esp + 4], eax
call fcn.004277b0
ud2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.0044be50
jmp fcn.004f9cf0