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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4fc12f
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4fc142
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0x14]
xor esi, esi
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
cmp ax, word [edi]
jge 0x4fc472
jmp 0x4fc170
mov eax, dword [edi + 0xc]
movsx esi, word [eax + esi*2]
mov dword [esp + 0x28], esi
test esi, esi
js 0x4fc123
mov eax, dword [edi + 4]
lea edi, [eax + esi*8]
lea esi, [eax + ecx*8]
mov dword [esp + 0x10], edi
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, ebx
shl eax, cl
sub eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
shl eax, cl
sub eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
shl eax, cl
sub eax, edx
shl edi, cl
mov ecx, dword [esp + 0x34]
sub edi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov edx, dword [edx + 8]
mov eax, dword [esp + 0x18]
add edi, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
movsx eax, byte [edi]
and eax, 3
cmp eax, 2
je 0x4fc123
test eax, eax
jne 0x4fc23b
mov eax, dword [esp + 0x28]
mov al, byte [edx + eax]
and al, 3
cmp al, 1
mov eax, dword [esp + 0x20]
jne 0x4fc21b
sub dword [esp + 0x10], 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
jmp 0x4fc233
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub esi, 8
mov dword [esp + 0x3c], eax
dec edi
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x4fc474
mov ecx, dword [esp + 0x10]
cmp esi, ecx
jae 0x4fc433
movsx eax, byte [edi + 1]
inc edi
and eax, 3
add esi, 8
sub eax, 0
je 0x4fc34f
dec eax
je 0x4fc314
lea eax, [esi + 8]
cmp eax, ecx
ja 0x4fc123
mov al, byte [edi + 1]
and al, 3
cmp al, 2
jne 0x4fc123
mov eax, dword [esi]
add esi, 0x10
mov edx, dword [esp + 0x14]
mov ecx, ebx
shl eax, cl
add edi, 2
sub eax, edx
push dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esi - 0xc]
shl eax, cl
sub eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [esi - 8]
shl eax, cl
sub eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esi - 4]
shl eax, cl
sub eax, edx
mov dword [esp + 0x58], eax
cmp esi, dword [esp + 0x14]
ja 0x4fc47b
mov eax, dword [esi]
shl eax, cl
sub eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, edx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
test eax, eax
jne 0x4fc474
jmp 0x4fc427
mov eax, dword [esi]
mov ecx, ebx
push dword [ebp + 0x10]
shl eax, cl
sub eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x4fc474
jmp 0x4fc427
mov ebx, dword [esi]
mov ecx, dword [esp + 0x1c]
shl ebx, cl
sub ebx, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x10]
jae 0x4fc497
movsx edx, byte [edi + 1]
inc edi
mov eax, dword [esi + 8]
add esi, 8
mov dword [esp + 0x20], edi
and edx, 3
shl eax, cl
sub eax, dword [esp + 0x14]
mov edi, dword [esi + 4]
shl edi, cl
sub edi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
cmp edx, 1
je 0x4fc403
test edx, edx
jne 0x4fc123
push dword [ebp + 0x10]
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x4fc474
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ebx
jmp 0x4fc368
push dword [ebp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x4fc474
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp esi, ecx
jb 0x4fc261
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x4fc474
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
inc esi
mov ebx, dword [esp + 0x1c]
inc ecx
movsx eax, word [edi]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
cmp esi, eax
jl 0x4fc170
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
jmp 0x4fc446
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
jmp 0x4fc446