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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x58
mov ebx, ecx
mov eax, dword [ebx + 0x38]
and eax, 7
mov edx, 0
je 0x5be337
test al, 1
jne 0x5be753
add edx, 1
shr eax, 1
test al, 1
je 0x5be326
mov dword [ebx + 0x554], edx
jmp 0x5be341
mov dword [ebx + 0x554], 0
mov eax, dword [ebx + 0x38]
lea ebp, [ebx + 0x38]
lea edx, [ebx + 0x138]
test al, 1
jne 0x5be515
test al, 2
jne 0x5be439
test al, 4
je 0x5be51f
lea ecx, [ebx + 0x138]
xor edi, edi
xor esi, esi
xor ebp, ebp
xor edx, edx
lea eax, [ebx + 0x538]
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
add ecx, 0x10
cmp eax, ecx
ja 0x5be379
mov eax, 0x10000
fld dword [ebx + 0x60]
fmul dword [0x92b854]
fld dword [ebx + 0x58]
mov edi, dword [ebx + 0x58]
movzx ecx, byte [ebx + 0x73]
fstp dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
xor edx, edx
idiv ecx
movzx edx, byte [ebx + 0x72]
mov esi, 0x7f
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov edi, ebp
xor ebp, ebp
mov ecx, dword [esp + 0x30]
imul ecx, ebp
add ecx, 0xffffc000
call fcn.0082dcbc
fadd dword [0x92b850]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x28]
mov eax, dword [esp + 0x34]
fstp dword [ebx + esi*4 + 0x138]
add ebp, 1
add esi, 0xffffffff
cmp ebp, eax
jl 0x5be40e
xor ebp, ebp
mov edi, 1
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test esi, esi
jl 0x5be51f
test edi, edi
je 0x5be3d2
mov dword [ebx + esi*4 + 0x138], edx
add ebp, 1
add esi, 0xffffffff
cmp ebp, eax
jl 0x5be416
xor ebp, ebp
xor edi, edi
jmp 0x5be416
lea ecx, [ebx + 0x138]
xor edi, edi
xor esi, esi
xor ebp, ebp
xor edx, edx
lea eax, [ebx + 0x538]
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
add ecx, 0x10
cmp eax, ecx
ja 0x5be44d
mov eax, dword [ebx + 0x4c]
xor edx, edx
test eax, eax
jbe 0x5be51f
mov ecx, ebx
fld dword [ecx + edx*8 + 0x58]
fmul dword [0x92b854]
movzx ebx, byte [ecx + edx*2 + 0x72]
movzx eax, byte [ecx + edx*2 + 0x73]
fstp dword [esp + 0x2c]
mov dword [esp], eax
fild dword [esp]
fdiv dword [0x92b848]
fmul dword [0x92b84c]
fdiv dword [0x92b844]
mov dword [esp + 0x34], edx
fnstcw word [esp + 8]
movzx eax, word [esp + 8]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp dword [esp + 0x18]
fldcw word [esp + 8]
mov edi, dword [esp + 0x18]
shl ebx, 9
add ebx, 0xffffc000
mov dword [esp + 0x38], ecx
lea esi, [ecx + 0x338]
lea ebp, [ecx + 0x13c]
mov ecx, ebx
call fcn.0082dcbc
fadd dword [0x92b850]
fmul dword [esp + 0x2c]
fadd dword [esi - 4]
fstp dword [esi - 4]
add ebx, edi
add esi, 0xfffffffc
cmp ebp, esi
jbe 0x5be4dd
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add edx, 1
cmp edx, dword [ecx + 0x4c]
jb 0x5be46e
mov ebx, ecx
jmp 0x5be51f
push edx
push ebp
call fcn.005bcc88
add esp, 8
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov ebp, dword [ebx + 0x48]
mov esi, dword [ebx + 0x4c]
mov edi, dword [ebx + 0x50]
mov dword [ebx + 0x78], 1
mov dword [esp + 0x3c], esi
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0xb8], 2
mov dword [esp + 0x34], edi
mov dword [ebx + 0x80], edx
mov dword [ebx + 0xf8], 4
mov dword [ebx + 0x84], ecx
mov dword [ebx + 0x88], ebp
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], edi
mov edi, dword [ebx + 0x54]
mov dword [esp + 0x30], edi
mov dword [ebx + 0x94], edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0x24], edi
mov dword [ebx + 0x98], edi
mov edi, dword [ebx + 0x5c]
mov dword [ebx + 0x9c], edi
mov dword [ebx + 0xbc], eax
mov dword [esp + 0x20], edi
mov edi, dword [ebx + 0x60]
mov dword [esp + 0x40], edi
mov dword [ebx + 0xa0], edi
mov edi, dword [ebx + 0x64]
mov dword [esp + 0x44], edi
mov dword [ebx + 0xa4], edi
mov edi, dword [ebx + 0x68]
mov dword [ebx + 0xa8], edi
mov dword [esp + 0x48], edi
mov edi, dword [ebx + 0x6c]
mov dword [esp + 0x4c], edi
mov dword [ebx + 0xac], edi
mov edi, dword [ebx + 0x70]
mov dword [esp + 0x50], edi
mov dword [ebx + 0xb0], edi
mov edi, dword [ebx + 0x74]
mov dword [ebx + 0xb4], edi
mov dword [esp + 0x54], edi
mov dword [ebx + 0xc0], edx
mov dword [ebx + 0xc4], ecx
mov dword [ebx + 0xc8], ebp
mov dword [ebx + 0xcc], esi
mov esi, dword [esp + 0x34]
mov dword [ebx + 0xd0], esi
mov esi, dword [esp + 0x30]
mov dword [ebx + 0xd4], esi
mov esi, dword [esp + 0x24]
mov dword [ebx + 0xd8], esi
mov esi, dword [esp + 0x20]
mov dword [ebx + 0xdc], esi
mov esi, dword [esp + 0x40]
mov dword [ebx + 0xe0], esi
mov esi, dword [esp + 0x44]
mov dword [ebx + 0xe4], esi
mov esi, dword [esp + 0x48]
mov dword [ebx + 0xe8], esi
mov esi, dword [esp + 0x4c]
mov dword [ebx + 0xec], esi
mov esi, dword [esp + 0x50]
mov dword [ebx + 0xf0], esi
mov dword [ebx + 0xf4], edi
and edi, 0xff
mov dword [ebx + 0xfc], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x100], edx
mov dword [ebx + 0x104], ecx
mov dword [ebx + 0x108], ebp
mov dword [ebx + 0x10c], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x110], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x114], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x118], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x11c], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x120], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x124], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x128], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x12c], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x130], esi
mov dword [ebx + 0x134], eax
mov edx, esi
shr edx, 0x10
movzx edx, dl
mov dword [ebx + 0x6b0], edx
mov edx, esi
shr edx, 0x18
mov dword [ebx + 0x71c], edx
mov dword [ebx + 0x6b4], edi
mov edx, eax
shr edx, 8
movzx edx, dl
mov dword [ebx + 0x720], edx
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov dword [ebx + 0x6b8], edx
shr eax, 0x18
mov dword [ebx + 0x724], eax
mov eax, esi
shr eax, 0x10
movzx eax, al
mov dword [ebx + 0x78c], eax
shr esi, 0x18
mov dword [ebx + 0x790], esi
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [ebx + 0x554], 0
jmp 0x5be341