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

Disassembly:
sub esp, 0x190
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x1a4]
mov eax, 0x3f800000
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x14], eax
mov dword [ebp], eax
mov eax, dword [esp + 0x19c]
imul eax, eax, 0x2dc
push esi
mov ebx, ecx
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x30], edx
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x24], edx
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], edx
mov dword [ebp + 4], edx
mov ecx, dword [ebx + 0x110]
push edi
mov dword [esp + 0x14], eax
lea eax, [eax + ecx + 0x204]
mov esi, eax
push eax
mov ecx, 0x10
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
push edx
mov dword [esp + 0x120], edx
mov dword [esp + 0x11c], edx
mov dword [esp + 0x118], edx
mov dword [esp + 0x114], edx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x108], edx
mov dword [esp + 0x104], edx
mov dword [esp + 0x100], edx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xec], edx
mov dword [esp + 0x160], edx
mov dword [esp + 0x15c], edx
mov dword [esp + 0x158], edx
mov dword [esp + 0x154], edx
mov dword [esp + 0x14c], edx
mov dword [esp + 0x148], edx
mov dword [esp + 0x144], edx
mov dword [esp + 0x140], edx
mov dword [esp + 0x138], edx
mov dword [esp + 0x134], edx
mov dword [esp + 0x130], edx
mov dword [esp + 0x12c], edx
lea edx, [esp + 0xe8]
push edx
mov dword [esp + 0x128], 0x3f800000
mov dword [esp + 0x114], 0x3f800000
mov dword [esp + 0x100], 0x3f800000
mov dword [esp + 0xec], 0x3f800000
mov dword [esp + 0x168], 0x3f800000
mov dword [esp + 0x154], 0x3f800000
mov dword [esp + 0x140], 0x3f800000
mov dword [esp + 0x12c], 0x3f800000
call fcn.004f87c0
mov edi, dword [esp + 0x1a8]
lea eax, [esp + 0xe0]
push eax
push edi
push edi
call fcn.004f82b4
mov ecx, dword [esp + 0x1a4]
mov edx, dword [ebx + 0x110]
mov esi, dword [esp + 0x14]
mov al, byte [esi + edx + 0x200]
mov dword [esp + 0x18], ecx
test al, al
je 0x5b7f9c
mov eax, dword [ebx + 0x18]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x5b7f88
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x110]
imul ecx, ecx, 0x2dc
lea edx, [ecx + eax + 0x100]
mov dword [esp + 0x5c], edx
mov edi, eax
mov eax, dword [esp + 0x5c]
mov esi, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x5b7f0b
test cl, cl
je 0x5b7f07
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x5b7f0b
add eax, 2
add esi, 2
test cl, cl
jne 0x5b7ee7
xor eax, eax
jmp 0x5b7f10
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
je 0x5b7f2c
mov ecx, dword [ebx + 0x18]
inc eax
add edi, 0x2dc
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5b7ee1
jmp 0x5b7f84
mov ecx, dword [ebx + 0x110]
imul eax, eax, 0x2dc
lea edx, [esp + 0x120]
lea esi, [eax + ecx + 0x204]
push edx
push 0
lea eax, [esp + 0xe8]
mov ecx, 0x10
lea edi, [esp + 0x128]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004f87c0
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xa4]
push edx
mov eax, edx
push eax
call fcn.004f82b4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 0x18]
jne 0x5b7eb1
mov edi, dword [esp + 0x1a8]
mov eax, dword [ebx + 0x110]
mov ecx, dword [esi + eax + 0x27c]
test ecx, ecx
jle 0x5b7fbd
mov ecx, dword [esp + 0x1a4]
push ebp
push ecx
mov ecx, ebx
call fcn.005b7b20
mov edx, dword [ebx + 0x110]
mov ecx, dword [esi + edx + 0x274]
test ecx, ecx
lea eax, [esi + edx]
jg 0x5b8079
mov ecx, dword [eax + 0x27c]
test ecx, ecx
jle 0x5b801d
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0xc0]
mov dword [ebp + 0x10], edx
mov edx, dword [esp + 0xc4]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
jmp 0x5b8089
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov dword [ebp], eax
mov eax, dword [esp + 0xb0]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0xb8]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0xc4]
mov dword [ebp + 0x18], edx
mov edx, dword [esp + 0xc8]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], edx
jmp 0x5b8089
mov eax, dword [esp + 0x1a4]
push ebp
push eax
mov ecx, ebx
call fcn.005b72f0
mov ecx, dword [ebx + 0x110]
mov al, byte [esi + ecx + 0x288]
test al, al
je 0x5b80f1
mov eax, dword [ebx + 0x38]
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
push 2
push eax
call dword [edx + 0x98]
lea edx, [esp + 0x60]
push edx
push 0
lea eax, [esp + 0x168]
push eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
call fcn.004f87c0
lea ecx, [esp + 0x160]
push ecx
push ebp
push ebp
call fcn.004f82b4
mov edx, dword [ebx + 0x110]
mov al, byte [esi + edx + 0x28a]
test al, al
je 0x5b8229
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x160]
push edx
push 2
push eax
call dword [ecx + 0x98]
lea eax, [esp + 0x160]
push eax
push 0
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x19c], 0
call fcn.004f87c0
fld dword [esp + 0x80]
fcomp dword [0x64fe74]
mov dword [esp + 0x54], 0
fld dword [esp + 0x88]
mov dword [esp + 0x50], 0
fdiv dword [esp + 0x80]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x1c], 0x3f800000
push ecx
fld1
fpatan
fnstsw ax
test ah, 0x41
jne 0x5b8208
fsubr dword [0x64ff20]
lea edx, [esp + 0x20]
fstp dword [esp]
push edx
jmp 0x5b8218
fchs
lea eax, [esp + 0x20]
fsub dword [0x64ff20]
fstp dword [esp]
push eax
call fcn.004f8d2b
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebp
call fcn.004f82b4
mov edx, dword [ebx + 0x110]
mov ecx, dword [esi + edx + 0x278]
test ecx, ecx
lea eax, [esi + edx]
jg 0x5b83f2
mov cl, byte [ebx + 0xe8]
test cl, cl
je 0x5b83d2
mov cl, byte [eax + 0x288]
test cl, cl
jne 0x5b8267
mov cl, byte [eax + 0x28a]
test cl, cl
je 0x5b83d2
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0xd8]
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x5c], edx
call fcn.004f8f79
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, eax
push ecx
call fcn.004f82b4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov dword [ebp + 0x30], edx
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], ecx
jmp 0x5b8402
mov edx, dword [esp + 0x1a4]
push ebp
push edx
mov ecx, ebx
call fcn.005b7660
push ebp
push edi
push edi
call fcn.004f82b4
mov ebx, dword [ebx + 0x38]
mov eax, dword [ebx]
push edi
push pe_nt_image_headers32
push ebx
call dword [eax + 0x94]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x190
ret 0xc