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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x70], 0
push edi
je 0x5b0551
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x64]
mov edi, dword [esi + 0x70]
sub eax, 1
imul eax, dword [esi + 0x112]
add ecx, ecx
sub ecx, eax
lea eax, [ecx + edx - 1]
xor edx, edx
div edi
xor edx, edx
mov dword [esp + 0x280], 0
mov ebx, eax
mov eax, dword [esi + 0x68]
lea eax, [ecx + eax - 1]
div edi
lea ecx, [esi + 0x48]
add ebx, 1
mov dword [esp + 0x1c], ecx
mov edi, eax
lea eax, [esp + 0x80]
add edi, 1
call fcn.00628260
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x80]
call fcn.00628260
lea ecx, [esi + 0x14]
lea eax, [esp + 0x80]
call fcn.00628260
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
mov edx, eax
imul edx, eax
mov eax, dword [esi + 0x68]
push ecx
mov ecx, dword [esi + 0x64]
push edx
push eax
push ecx
lea ecx, [esp + 0x90]
call fcn.00628120
mov edx, dword [esi + 0x60]
mov eax, edi
imul eax, ebx
push edi
push eax
push ebx
push edx
mov dword [esp + 0x20], eax
call fcn.00628120
mov ecx, dword [esp + 0x280]
fldz
lea eax, [ecx + 0x10]
cmp eax, 0x200
ja 0x5b0212
mov edx, dword [esp + 0x10]
fild dword [esp + 0x10]
test edx, edx
lea ecx, [esp + ecx + 0x80]
jge 0x5b01e0
fadd dword [0x7236cc]
test edi, edi
fld1
fld st(0)
mov dword [esp + 0x2c], edi
fdivrp st(2)
fxch st(1)
fstp dword [ecx]
fild dword [esp + 0x2c]
jge 0x5b01fc
fadd dword [0x7236cc]
fdivp st(1)
fstp dword [ecx + 4]
fst dword [ecx + 8]
fstp dword [ecx + 0xc]
mov ecx, eax
mov dword [esp + 0x280], ecx
jmp 0x5b0214
fstp st(0)
lea edx, [ecx + 0x10]
xor ebx, ebx
cmp edx, 0x200
ja 0x5b023a
lea eax, [esp + ecx + 0x80]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [esp + 0x280], edx
mov edi, dword [esi + 0x44]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0062b300
cmp byte [0x7365d3], 0
je 0x5b026e
push edi
push ebx
lea ecx, [esp + 0x3c]
call fcn.0062cfa0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jne 0x5b0284
mov edx, dword [esp + 0x3c]
cmp edx, dword [ecx + 8]
je 0x5b02b8
cmp dword [ecx], ebx
je 0x5b029a
mov edx, dword [ecx + 0xc]
cmp edx, ebx
jbe 0x5b029a
mov eax, dword [ecx + 8]
imul eax, dword [ecx + 4]
cmp eax, edx
jae 0x5b029e
xor eax, eax
jmp 0x5b02a3
cdq
xor eax, edx
sub eax, edx
lea ecx, [esp + 0x34]
call fcn.0062d570
mov edi, dword [esi + 0x44]
lea eax, [esp + 0x34]
call fcn.0062d4c0
fldz
push ecx
lea eax, [esp + 0x38]
fstp dword [esp]
call fcn.0062d8c0
call fcn.00627890
mov al, byte [0x7365d0]
mov edi, dword [esi + 0x112]
neg al
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
sbb eax, eax
and eax, 0xe
add eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x74]
sub edi, 1
sub eax, edi
xor ecx, ecx
cmp dword [esi + 0x60], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], ecx
jle 0x5b043a
neg edi
mov dword [esp + 0x10], edi
mov ebx, dword [esi + 0x6c]
mov eax, dword [esi + 0x6c]
imul ebx, ebx
imul ebx, ecx
xor edx, edx
test eax, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], edx
jle 0x5b0427
mov ecx, dword [esp + 0x6c]
neg ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x20], ecx
mov ecx, eax
mov dword [esp + 0x30], edi
imul ecx, edx
xor edi, edi
test eax, eax
jle 0x5b0400
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x7c]
add ecx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], ecx
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x14], ebx
jne 0x5b037f
lea ebx, [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x7c]
lea eax, [esi + 0x14]
push eax
mov eax, dword [esi + 0x10]
add ecx, edi
push eax
mov dword [esp + 0x128], ecx
push ebx
lea ecx, [esp + 0x90]
push ecx
push 0x733320
call fcn.0062c980
test al, al
je 0x5b0521
mov edx, dword [esp + 0x50]
add dword [esp + 0x24], 1
add dword [esp + 0x30], edx
add edi, 1
cmp edi, dword [esi + 0x6c]
mov dword [esp + 0x14], ebx
jl 0x5b0371
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x50]
add dword [esp + 0x28], eax
mov eax, dword [esi + 0x6c]
add dword [esp + 0x20], 1
mov edi, dword [esp + 0x10]
add edx, 1
cmp edx, eax
mov dword [esp + 0x4c], edx
jl 0x5b0342
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x60]
mov dword [esp + 0x18], ecx
jl 0x5b0312
xor ebx, ebx
mov edi, dword [esi + 0x44]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0062b300
cmp byte [0x7365d3], 0
je 0x5b046e
push edi
push ebx
lea ecx, [esp + 0x5c]
call fcn.0062cfa0
lea ecx, [esp + 0x54]
lea eax, [esp + 0x80]
mov dword [esp + 0x280], ebx
call fcn.00628260
add esi, 0x2c
mov ecx, esi
lea eax, [esp + 0x80]
call fcn.00628260
mov edi, dword [esp + 0x14]
mov ecx, edi
lea eax, [esp + 0x80]
call fcn.00628260
push esi
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0x733308
call fcn.0062c910
test al, al
jne 0x5b055a
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x5b04d9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x5b04e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5b04f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x5b0509
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x5b0519
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
jmp 0x5b0547
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5b0531
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5b0541
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5b0551
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x54]
call fcn.0062e0e0
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x5b0577
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x5b0587
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5b0597
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x5b05a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x5b05b7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x5b05c7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret