Function at 0x5a89b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5df568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, ecx
lea eax, [edi + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.004b6cb0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
fld qword [esp + 0x10]
fadd qword [esi]
mov dword [esp + 0x38], 0
fst qword [esp + 0x10]
fld qword [esp + 0x20]
fadd qword [esi + 0x10]
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fadd qword [esi + 8]
fstp qword [esp + 0x18]
fld qword [esp + 0x28]
fadd qword [esi + 0x18]
fstp qword [esp + 0x28]
fcom qword [ecx + 0x28]
fnstsw ax
test ah, 0x41
je 0x5a8a2b
fstp st(0)
fld qword [ecx + 0x28]
fld qword [esp + 0x20]
fld qword [ecx + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5a8a41
fld qword [esp + 0x20]
jmp 0x5a8a44
fld qword [ecx + 0x38]
fxch st(1)
fadd qword [0x5f13d0]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x5a8b29
fld qword [esp + 0x18]
fld qword [ecx + 0x30]
fcompp
fnstsw ax
test ah, 1
je 0x5a8a71
fld qword [esp + 0x18]
jmp 0x5a8a74
fld qword [ecx + 0x30]
fld qword [esp + 0x28]
fld qword [ecx + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5a8a8a
fld qword [esp + 0x28]
jmp 0x5a8a8d
fld qword [ecx + 0x40]
fxch st(1)
fadd qword [0x5f13d0]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x5a8b29
fld qword [ecx + 0x68]
fsub qword [edi + 0x78]
push edi
push ecx
fstp qword [ebx + 8]
fld qword [ecx + 0x78]
fsub qword [edi + 0x68]
fstp qword [ebx + 0x18]
fld qword [ecx + 0x70]
fsub qword [edi + 0x80]
fstp qword [ebx + 0x10]
fld qword [ecx + 0x80]
fsub qword [edi + 0x70]
mov ecx, ebx
fstp qword [ebx + 0x20]
call fcn.005a75e0
fld qword [ebp + 0x1c]
fcomp qword [0x5e27e0]
fnstsw ax
test ah, 1
je 0x5a8b11
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov edi, dword [ebp + 0x18]
sub ecx, edx
sar ecx, 4
shl ecx, 1
push ecx
mov ecx, edi
call fcn.00594510
push 0
push 0
push 0
push 0
push edi
mov ecx, ebx
call fcn.005a7620
jmp 0x5a8b24
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
push edx
push eax
push edi
mov ecx, ebx
call fcn.005a7c30
cmp eax, 1
je 0x5a8b50
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0042bd50
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov al, byte [ebp + 8]
test al, al
je 0x5a8b5e
mov ecx, edi
call fcn.005934a0
mov ecx, edi
call fcn.00593690
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov ebx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00593710
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00593710
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00593710
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00593710
push ebx
mov ecx, edi
call fcn.00593750
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c