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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5bbc64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00407dec
lea eax, [ebx + 4]
xor edx, edx
call fcn.00407dec
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0xbf800000
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0xffffffff
cmp dword [esi + 0x3c], 0
je 0x5bbc30
test edi, edi
jge 0x5bb966
mov edi, dword [esi + 0x70]
test edi, edi
jge 0x5bb99c
mov ecx, 0x5bbc80
mov edx, 0x10
mov eax, esi
call fcn.005baedc
jmp 0x5bbc41
mov eax, dword [esi + 0x3c]
cmp edi, dword [eax + 0x14]
jl 0x5bb99c
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x5bbcb0
call fcn.00418808
mov ecx, dword [ebp - 0x2c]
mov edx, 0x10
mov eax, esi
call fcn.005baedc
jmp 0x5bbc41
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd0], 0
je 0x5bb9ec
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x5bbcf8
call fcn.00418808
mov ecx, dword [ebp - 0x38]
mov edx, 0x10
mov eax, esi
call fcn.005baedc
jmp 0x5bbc41
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x138]
xor ecx, ecx
mov edx, 0x5bbd44
call fcn.005b5dcc
mov edx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.00407dec
lea ecx, [ebp - 0x40]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005b5e1c
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 4]
call fcn.00407dec
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x50]
mov dword [ebx + 8], edx
mov edx, dword [eax + 0x54]
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
add eax, 0x38
cmp dword [eax + 4], 0
jne 0x5bba7a
mov edx, dword [eax]
mov dword [eax + 4], edx
cmp dword [eax + 4], 0
jne 0x5bba87
mov dword [eax + 4], 1
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push edx
push eax
mov eax, dword [0x8e699c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x5bbaa2
cmp eax, dword [esp]
pop edx
pop eax
je 0x5bbae4
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x8e6438]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [0x8e66f8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x58]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x5c]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
push edx
push eax
mov eax, dword [0x8e699c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x5bbb21
cmp eax, dword [esp]
pop edx
pop eax
je 0x5bbb63
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x18]
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x8e6438]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
mov eax, dword [0x8e66f8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x17c]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x180]
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x20]
fild dword [ebp - 0x1c]
fdivp st(1)
fstp qword [ebp - 0x28]
wait
mov eax, dword [ebp - 4]
fild dword [eax + 0x28]
fmul qword [ebp - 0x28]
mov eax, dword [ebp - 4]
fild dword [eax + 0x2c]
fdivp st(1)
fstp dword [ebx + 0x34]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + 0x18]
mov eax, edx
mov ecx, edi
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
cmp dword [eax + 0x1a4], 0
je 0x5bbbf0
mov eax, edx
mov ecx, edi
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
cmp dword [eax + 0x1a0], 0
setne al
jmp 0x5bbbf2
xor eax, eax
test al, al
je 0x5bbc16
mov eax, edx
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov edx, dword [eax + 0x1a0]
mov dword [ebx + 0x3c], edx
mov edx, dword [eax + 0x1a4]
mov dword [ebx + 0x40], edx
jmp 0x5bbc41
mov eax, edx
mov edx, edi
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x3c], edx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x40], edx
jmp 0x5bbc41
mov ecx, 0x5bbd5c
mov edx, 0x18
mov eax, esi
call fcn.005baedc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bbc6b
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00407de4
lea eax, [ebp - 0x2c]
call fcn.00407ddc
ret