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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x300
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call 0x4fbc3a
pop edi
cmp byte [ebx + 0x10], 9
jne 0x4fbc5e
lea eax, [ebx + 0x11]
lea ecx, [0x5fc009]
push 0x27
push ecx
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4fbd05
xorps xmm0, xmm0
mov eax, 5
xor ecx, ecx
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c7], 0
movaps xmmword [esp + 0x1b0], xmm0
movsd xmm1, qword [esp + 0x1c0]
mov edx, dword [esp + 0x1cf]
movsd xmm2, qword [esp + 0x1b0]
movsd xmm0, qword [esp + 0x1c8]
movsd qword [esi + 0x29], xmm1
movsd xmm1, qword [esp + 0x1b8]
mov dword [esi + 0x38], edx
movsd qword [esi + 0x31], xmm0
movsd qword [esi + 0x19], xmm2
movsd qword [esi + 0x21], xmm1
mov dword [esi + 4], 3
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x48862a09
mov dword [esi + 0x10], 0x10df786
mov dword [esi + 0x14], 0x101
mov byte [esi + 0x18], cl
mov dword [esi], 2
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [ebx + 0x44]
cmp cl, 0x17
jne 0x4fbd1a
mov eax, 2
mov cl, 0x17
jmp 0x4fbc91
mov eax, 4
cmp cl, 4
jne 0x4fbd8d
mov ecx, dword [ebx + 0x40]
or ecx, dword [ebx + 0x3c]
jne 0x4fbc91
lea eax, [esp + 0x1b0]
push dword [ebx + 0xc]
push dword [ebx + 8]
push eax
call fcn.004702d0
add esp, 0xc
mov edx, dword [esp + 0x1b0]
test edx, edx
je 0x4fbd92
mov eax, dword [esp + 0x210]
mov ecx, dword [esp + 0x214]
test eax, eax
je 0x4fbe11
test ecx, ecx
mov dword [esi + 4], 1
mov dword [esi], 2
je 0x4fbcfb
mov ecx, dword [0x607460]
push eax
push 0
push dword [ecx]
call sub.KERNEL32.dll_HeapFree
jmp 0x4fbcfb
jmp 0x4fbc91
mov ecx, dword [esp + 0x1b4]
mov eax, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x1bc]
movsd xmm3, qword [esp + 0x1c0]
movsd xmm2, qword [esp + 0x1cc]
movsd xmm1, qword [esp + 0x1d8]
movsd xmm0, qword [esp + 0x1e4]
mov edx, dword [esp + 0x1c8]
mov dword [esp + 0x14], eax
lea eax, [ecx - 4]
mov dword [esp + 8], ecx
mov ecx, 2
cmp eax, 4
cmovb ecx, eax
mov eax, dword [esp + 0x1d4]
add edi, dword [ecx*4 + 0x4fc1e4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x10], eax
jmp edi
mov eax, dword [esp + 0x1c8]
mov edi, dword [esp + 0x1bc]
mov ebx, dword [esp + 0x1c0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x30]
push dword [esp + 0x1b4]
call fcn.004fa310
add esp, 4
mov edx, edi
lea ecx, [esp + 0x60]
push ebx
call fcn.004fa310
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x90]
push dword [esp + 0x10]
call fcn.004fa310
add esp, 4
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc0]
push dword [esp + 8]
call fcn.004fa310
add esp, 4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xf0]
push dword [esp + 0x1c]
call fcn.004fa310
add esp, 4
mov eax, dword [0x607474]
mov edi, dword [0x607460]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x4fbeef
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4fc170
mov dword [edi], eax
push 0x60
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4fc170
movsd xmm0, qword [esp + 0xe8]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esp + 0xe0]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esp + 0xd8]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0xd0]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0xc0]
movsd xmm1, qword [esp + 0xc8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x118]
movsd qword [eax + 0x58], xmm0
movsd xmm0, qword [esp + 0x110]
movsd qword [eax + 0x50], xmm0
movsd xmm0, qword [esp + 0x108]
movsd qword [eax + 0x48], xmm0
movsd xmm0, qword [esp + 0x100]
movsd qword [eax + 0x40], xmm0
movsd xmm0, qword [esp + 0xf0]
movsd xmm1, qword [esp + 0xf8]
movsd qword [eax + 0x38], xmm1
movsd qword [eax + 0x30], xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 2
movsd xmm1, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x48]
movsd xmm3, qword [esp + 0x30]
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x140], xmm1
movsd xmm1, qword [esp + 0x40]
movsd qword [esp + 0x138], xmm2
movsd xmm2, qword [esp + 0x88]
movsd qword [esp + 0x120], xmm3
movsd xmm3, qword [esp + 0x60]
movsd qword [esp + 0x148], xmm0
movsd qword [esp + 0x130], xmm1
movsd xmm1, qword [esp + 0x38]
movsd qword [esp + 0x178], xmm2
movsd xmm2, qword [esp + 0x78]
movsd qword [esp + 0x150], xmm3
movsd qword [esp + 0x128], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [esp + 0x168], xmm2
movsd xmm2, qword [esp + 0xb8]
movsd qword [esp + 0x170], xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x1a8], xmm2
movsd xmm2, qword [esp + 0xa8]
movsd qword [esp + 0x160], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x198], xmm2
movsd xmm2, qword [esp + 0x90]
movsd qword [esp + 0x158], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x180], xmm2
movsd qword [esp + 0x1a0], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 0x190], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [esp + 0x188], xmm1
lea eax, [esp + 0x24]
lea edx, [esp + 0x150]
lea edi, [esp + 0x120]
lea ecx, [esp + 0x180]
push eax
push ecx
push edx
push edi
lea edi, [esp + 0x1c0]
push edi
call fcn.004fc6a0
add esp, 0x14
cmp dword [esp + 0x1b0], 2
jne 0x4fc125
mov dword [esi + 4], 1
jmp 0x4fbcf5
push 0x148
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4fbcfb
push 0x60
push 8
call fcn.0041a8c0
add esp, 8
ud2