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

Disassembly:
sub esp, 0x80
lea eax, [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push edi
push ebp
push 1
push 0x28
push eax
call dword [ebp + 0x83c]
mov ecx, dword [esp + 0x76]
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x75]
and ecx, 0xff
and edx, 0xff
mov dword [esi + 0x38], ecx
lea ecx, [esp + 0x78]
and eax, 0xff
mov edi, 0x100
push ecx
mov dword [esi], 0x1a
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.004fbce0
lea edx, [esp + 0x80]
push edx
call fcn.004fbce0
lea eax, [esp + 0x88]
push eax
call fcn.004fbce0
lea ecx, [esp + 0x90]
push ecx
call fcn.004fbce0
lea edx, [esp + 0x98]
push edx
call fcn.004fbce0
lea eax, [esp + 0xa0]
push eax
call fcn.004fbce0
lea ecx, [esp + 0xa8]
push ecx
call fcn.004fbce0
lea edx, [esp + 0xb0]
push edx
call fcn.004fbce0
lea eax, [esp + 0xb8]
push eax
call fcn.004fbce0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
lea eax, [esi + 4]
mov dword [esi + 8], edx
mov edx, dword [esp + 0xa8]
push 0x3f1a36e2
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0xb4]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0xc0]
push 0xeb1c432d
push eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
call fcn.00534310
add esp, 0x40
test eax, eax
jne 0x4fbe4a
mov eax, dword [esi]
or al, 1
mov dword [esi], eax
push edi
call fcn.0046583c
mov ecx, dword [esi + 0x28]
mov ebx, eax
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jbe 0x4fbee1
lea edx, [esi + 0x3c]
mov dword [esp + 0x18], edx
push 0x200
call fcn.0046583c
mov edi, eax
mov eax, dword [esp + 0x1c]
push ebp
push 0x100
push 1
push ebx
mov dword [eax], edi
call dword [ebp + 0x83c]
add esp, 0x14
xor eax, eax
movzx cx, byte [eax + ebx]
xor edx, edx
add edi, 2
mov dh, cl
or edx, ecx
inc eax
mov word [edi - 2], dx
cmp eax, 0x100
jb 0x4fbe93
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x30]
push eax
mov ecx, dword [edi]
push ecx
call fcn.00533310
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x28]
add edx, eax
mov eax, dword [esp + 0x1c]
add esp, 8
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jb 0x4fbe6d
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
cmp edx, eax
jne 0x4fbef2
mov eax, dword [esi]
and al, 0xfd
mov dword [esi], eax
push ebx
call fcn.00465753
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call fcn.004fc1d0
mov edi, eax
xor eax, eax
imul edi, dword [esi + 0x2c]
add esp, 0xc
cmp edi, eax
mov dword [esp + 0x1c], edi
jbe 0x4fbf7a
lea eax, [edi + edi]
push eax
call fcn.0046583c
push edi
mov ebx, eax
call fcn.0046583c
push ebp
push edi
push 1
push eax
mov dword [esp + 0x30], eax
call dword [ebp + 0x83c]
lea eax, [edi + edi]
add esp, 0x18
mov dword [esi + 0xc0], eax
xor eax, eax
test edi, edi
mov dword [esi + 0xbc], ebx
jbe 0x4fbf6b
mov edx, dword [esp + 0x18]
add ebx, 2
movzx cx, byte [eax + edx]
xor edx, edx
mov dh, cl
or edx, ecx
inc eax
mov word [ebx - 2], dx
cmp eax, edi
jb 0x4fbf50
mov eax, dword [esp + 0x18]
push eax
call fcn.00465753
add esp, 4
jmp 0x4fbf8c
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov eax, dword [esi]
and al, 0xef
mov dword [esi], eax
push 0x100
call fcn.0046583c
mov ecx, dword [esi + 0x2c]
mov ebx, eax
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jbe 0x4fc030
lea ecx, [esi + 0x7c]
mov dword [esp + 0x18], ecx
push 0x200
call fcn.0046583c
mov edx, dword [esp + 0x1c]
push ebp
push 0x100
mov edi, eax
push 1
push ebx
mov dword [edx], edi
call dword [ebp + 0x83c]
add esp, 0x14
xor eax, eax
movzx cx, byte [eax + ebx]
xor edx, edx
add edi, 2
mov dh, cl
or edx, ecx
inc eax
mov word [edi - 2], dx
cmp eax, 0x100
jb 0x4fbfdd
mov edi, dword [esp + 0x18]
push 0x100
mov eax, dword [edi]
push eax
call fcn.00533310
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2c]
add edx, eax
mov eax, dword [esp + 0x1c]
add esp, 8
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jb 0x4fbfb7
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jne 0x4fc041
mov eax, dword [esi]
and al, 0xf7
mov dword [esi], eax
push ebx
call fcn.00465753
mov eax, dword [esi + 0x30]
lea edx, [esi + 0xc4]
push edx
push eax
call fcn.00531d80
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0xfc]
push ecx
push edx
call fcn.00531d80
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
lea eax, [esi + 0x134]
push eax
mov eax, dword [esi + 0x38]
push ecx
push edx
push eax
call fcn.005323c0
mov eax, dword [ebp + 0xc]
mov ebx, 0x4c616220
add esp, 0x24
cmp eax, ebx
jne 0x4fc1b8
mov eax, dword [ebp + 8]
push edi
cmp eax, ebx
jne 0x4fc0a5
push esi
call fcn.004fc2e0
add esp, 8
jmp 0x4fc0b6
mov ecx, dword [esp + 0xa0]
push ecx
push esi
call fcn.004fc1f0
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push ebx
call fcn.00530c90
mov edx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push 0
push ecx
push edx
call fcn.00530c90
add esp, 0x20
test eax, eax
je 0x4fc1b8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ecx
push esi
mov dword [esi + 0x2c8], 0
call fcn.0052f790
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push eax
push esi
mov dword [esi + 0x2c8], 1
call fcn.0052f790
mov eax, dword [esp + 0x34]
add esp, 0x18
fld qword [0x661210]
fld qword [0x661210]
test eax, eax
jle 0x4fc18a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
lea edi, [esp + 0x44]
sub edx, ecx
sub edi, ecx
mov dword [esp + 0x14], eax
xor eax, eax
xor ebx, ebx
mov ax, word [ecx]
mov bx, word [edx + ecx]
mov ebp, eax
add ecx, 2
sub ebp, ebx
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov bx, word [edi + ecx - 2]
fild dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
fld st(0)
fmul st(1)
dec eax
mov dword [esp + 0x14], eax
faddp st(2)
fstp st(0)
fild dword [esp + 0x20]
fld st(0)
fmul st(1)
faddp st(3)
fstp st(0)
jne 0x4fc144
fsqrt
fxch st(1)
fsqrt
fcompp
fnstsw ax
test ah, 0x41
jne 0x4fc1ae
mov dword [esi + 0x2c8], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov dword [esi + 0x2c8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret