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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x104]
cmp eax, dword [ecx + 8]
jbe 0x4f4e9b
sub esp, 0x184
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0044ca60
mov ecx, dword [0xb78fa0]
mov edx, dword [0xb78fa4]
mov ebx, dword [0xb78fa8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
mov ecx, dword [esp + 0x194]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x198]
mov dword [esp + 0xd4], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0xd8], ebx
mov eax, 2
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x58], ebp
xor ebp, ebp
mov dword [esp + 0x54], ebp
xor ebp, ebp
mov dword [esp + 0xc0], ebp
xor ebp, ebp
jmp 0x4f485b
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0xc4]
mov ebx, dword [ecx + edx*4]
mov ebp, dword [esp + edx*4 + 0xc8]
mov esi, dword [esp + edx*4 + 0xcc]
mov edi, dword [esp + eax*4 + 0xc8]
mov edx, dword [esp + eax*4 + 0xcc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004f0ad0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
lea ebp, [esp + 0xc4]
mov dword [ebp + ebx*4 + 4], ecx
mov dword [ebp + ebx*4 + 8], edx
mov dword [ebp + ebx*4], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x2c], edx
call fcn.004f1660
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x7c]
lea edx, [esp + 0xc4]
mov ecx, dword [edx + edi*4]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + edi*4 + 0xc8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + edi*4 + 0xcc]
mov dword [esp + 0x58], ecx
mov dword [edx + edi*4 + 4], ebp
mov dword [edx + edi*4 + 8], esi
mov dword [edx + edi*4], ebx
mov edx, dword [esp + edi*4 + 0xd0]
mov ecx, dword [esp + edi*4 + 0xd4]
mov eax, dword [esp + edi*4 + 0xd8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x20], edx
call fcn.004efba0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x7c]
mov dword [esp + ebx*4 + 0xd0], eax
mov dword [esp + ebx*4 + 0xd4], ecx
mov dword [esp + ebx*4 + 0xd8], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x2c], edx
call fcn.004f1660
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x48], ebp
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + ebx*4 + 0xd0]
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + ebx*4 + 0xd4]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + ebx*4 + 0xd8]
mov dword [esp + ebx*4 + 0xd0], eax
mov dword [esp + ebx*4 + 0xd4], ecx
mov dword [esp + ebx*4 + 0xd8], edx
mov eax, dword [esp + 0x64]
add eax, 2
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x194]
mov edx, dword [esp + 0x198]
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc0], eax
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x48], ebp
mov dword [esp + 0xbc], esi
mov dword [esp + 0x4c], edi
cmp eax, 0x10
jge 0x4f48a8
mov dword [esp + 0x64], eax
sar eax, 0x1f
shr eax, 0x1f
mov ebx, dword [esp + 0x64]
add eax, ebx
sar eax, 1
cmp eax, 0x10
jae 0x4f4e94
lea eax, [eax + eax*2]
cmp ebx, 0x10
jae 0x4f4e94
lea edx, [ebx + ebx*2]
inc ebx
cmp ebx, 0x10
jb 0x4f45a9
jmp 0x4f4e94
mov eax, dword [esp + 0x190]
cmp eax, 1
jl 0x4f4e48
mov ecx, 1
mov edx, dword [esp + 0x188]
test ecx, ecx
jbe 0x4f4e8d
mov dword [edx], 1
mov ebx, dword [esp + 0x1a4]
dec ebx
mov dword [esp + 0x60], ebx
jmp 0x4f4dcf
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x190], esi
mov dword [esp + 0xbc], edi
mov edi, dword [esp + 0x50]
shr edi, 0x1c
lea edi, [edi + edi*2]
mov esi, dword [esp + edi*4 + 0xc4]
mov ebp, dword [esp + edi*4 + 0xc8]
mov edi, dword [esp + edi*4 + 0xcc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x14], ecx
call fcn.004efba0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x188], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x190]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1ac]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1b4]
mov dword [esp + 0x2c], esi
call fcn.004f1660
mov eax, dword [esp + 0x5c]
add eax, 4
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
shl eax, 4
mov dword [esp + 0x190], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x188]
mov dword [esp + 0xc0], edx
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0x20
jge 0x4f4dc3
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x60]
cmp ebx, ecx
je 0x4f4d99
mov dword [esp + 0xb8], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x14], ecx
call fcn.004f0ad0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x188], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x190]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1ac]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1b4]
mov dword [esp + 0x2c], esi
call fcn.004f1660
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xb4], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x190], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004f0ad0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x190]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1ac]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1b4]
mov dword [esp + 0x2c], esi
call fcn.004f1660
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x188], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x190], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004f0ad0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x188]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x190]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1ac]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1b4]
mov dword [esp + 0x2c], esi
call fcn.004f1660
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x188], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x190], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004f0ad0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x188]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x190]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1ac]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1b4]
mov dword [esp + 0x2c], esi
call fcn.004f1660
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xb0]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0xb0]
jmp 0x4f48e3
test eax, eax
jne 0x4f4a74
mov ecx, ebp
mov eax, esi
mov ebx, edx
mov ebp, dword [esp + 0x18c]
mov esi, dword [esp + 0x190]
mov edx, edi
mov edi, dword [esp + 0xc0]
jmp 0x4f48e3
dec ebx
mov eax, dword [esp + 0x60]
mov eax, dword [esp + 0x190]
test ebx, ebx
jl 0x4f4e10
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x1a4]
cmp ebx, eax
jae 0x4f4e86
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
jmp 0x4f4a50
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004ee460
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], edx
add esp, 0x184
ret
lea eax, [0x7b4160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 5
call fcn.00438a20
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0x4c]
jmp 0x4f48c4
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.0044b230
jmp fcn.004f4500