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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4fb708
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4fbbbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
test byte [eax + 0x1c], 1
jne 0x4fb77c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 6], 1
jne 0x4fb77c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x4fb77c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.0049dc9c
cmp al, 1
jne 0x4fb77c
lea eax, [ebp - 0xc]
call fcn.00406f5c
mov ecx, eax
mov edx, 0x4fbbcc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.004111ec
test al, al
je 0x4fb77c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x4c]
jmp 0x4fbb7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xc], 0
jne 0x4fb795
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
test byte [eax + 0x1c], 0x10
jne 0x4fbb7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
test byte [eax + 0x1c], 1
jne 0x4fbb7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 6], 0
je 0x4fbb7c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x4fbb7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.0049dc9c
test al, al
je 0x4fbb7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xd], 0
je 0x4fbb7c
xor ecx, ecx
push ebp
push 0x4fbb75
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x32], 0
je 0x4fb815
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xe], 0
je 0x4fb828
call fcn.00404834
jmp 0x4fbb7c
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.00421438
mov esi, eax
dec esi
test esi, esi
jl 0x4fb871
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004fca18
cmp byte [eax + 0x10], 2
je 0x4fb867
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004fca18
cmp dword [eax + 0xc], 0
je 0x4fb86d
mov byte [ebp - 0x11], 1
jmp 0x4fb871
inc ebx
dec esi
jne 0x4fb841
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 0x264]
test al, al
jne 0x4fb890
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
je 0x4fb890
mov byte [ebp - 0x11], 1
cmp byte [ebp - 0x11], 0
je 0x4fbb1b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.00421438
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4fb6dc]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.00421438
mov esi, eax
dec esi
test esi, esi
jl 0x4fb914
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004fca18
cmp dword [eax + 0xc], 0
je 0x4fb910
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004fca18
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x18]
call fcn.004057e8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.0049edb8
mov edx, dword [ebp - 8]
mov dword [edx + ebx*4], eax
inc ebx
dec esi
jne 0x4fb8d1
lea eax, [ebp - 4]
call fcn.00404e30
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x13c]
cmp dword [ebp - 0x1c], 0
je 0x4fb944
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.0049f7b4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
mov byte [eax + 5], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.004a028c
jmp 0x4fba8d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.00421438
mov esi, eax
dec esi
test esi, esi
jl 0x4fba48
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004fca18
mov edi, eax
cmp byte [edi + 0x10], 2
je 0x4fb9a9
cmp dword [edi + 0xc], 0
je 0x4fba40
movzx eax, byte [edi + 0x10]
sub al, 1
jb 0x4fb9bc
je 0x4fba11
dec al
je 0x4fb9ea
jmp 0x4fba40
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x88]
test al, al
jne 0x4fba40
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x54]
fmul dword [0x4fbbdc]
fild qword [edi + 0x40]
faddp st(1)
fistp qword [edi + 0x40]
wait
jmp 0x4fba40
cmp dword [edi + 0xc], 0
je 0x4fba02
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x88]
test al, al
jne 0x4fba40
fild qword [edi + 0x40]
fadd dword [0x4fbbdc]
fistp qword [edi + 0x40]
wait
jmp 0x4fba40
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x88]
test al, al
jne 0x4fba26
inc dword [edi + 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x54]
fmul dword [0x4fbbdc]
fild qword [edi + 0x28]
faddp st(1)
fistp qword [edi + 0x28]
wait
inc ebx
dec esi
jne 0x4fb98a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 0x264]
test al, al
jne 0x4fba82
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
je 0x4fba82
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
call fcn.004ebb84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.004a05a8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp byte [eax + 0xa1], 0
je 0x4fb971
cmp dword [ebp - 4], 0
je 0x4fbab9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x19c]
jmp 0x4fbac4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.004a028c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.00421438
mov esi, eax
dec esi
test esi, esi
jl 0x4fbb10
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.004fca18
cmp byte [eax + 0x10], 1
jne 0x4fbb0c
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4fbb04
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fild qword [eax + 0x28]
fdivrp st(1)
fistp qword [eax + 0x40]
wait
jmp 0x4fbb0c
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
inc ebx
dec esi
jne 0x4fbad9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.0049f7d4
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x2a], 0
je 0x4fbb31
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
call dword [ebx + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbb7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0xa8]
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x14], al
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x78]
call fcn.00404e84
mov eax, dword [ebp - 0x10]
mov byte [eax + 5], 0
mov eax, dword [ebp - 0x10]
call fcn.004fc57c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbbc4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404e54
lea eax, [ebp - 0x18]
call fcn.00405610
lea eax, [ebp - 0xc]
call fcn.00406f5c
lea eax, [ebp - 8]
mov edx, dword [0x4fb6dc]
call fcn.00406878
lea eax, [ebp - 4]
call fcn.00404e30
ret