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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6845ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x5ee06e
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0x5ee06e
cmp dword [ecx + 0x10], 8
je 0x5edc64
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
fld qword [eax + 0x10]
fadd qword [eax]
fmul qword [0x691ac8]
fstp qword [esp + 0x10]
fld qword [eax + 0x18]
fadd qword [eax + 8]
lea eax, [esp + 0x10]
push eax
fmul qword [0x691ac8]
fstp qword [esp + 0x1c]
call fcn.0064dc70
mov ecx, dword [eax]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x34], edx
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x5ee001
call fcn.004da3a0
mov ebx, eax
mov dword [esp + 0x28], 0x69dbfc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov eax, 0x69dbe8
mov dword [esp + 0x158], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x80]
mov byte [esp + 0x158], 2
call fcn.004c7940
mov esi, dword [ebp + 0xc]
push edi
push edi
mov byte [esp + 0x160], 3
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.004d4350
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
push edi
push edi
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.004c7b30
mov edx, dword [ebx]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
push ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x118]
test eax, eax
je 0x5edd97
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], 1
fld qword [eax]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 8]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push edi
push edi
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.004d4350
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push edi
push edi
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
call fcn.004c7b30
mov edx, dword [ebx]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
push ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x118]
test eax, eax
je 0x5ede15
mov eax, dword [esp + 0x2c]
fld qword [eax]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 8]
fadd qword [esp + 0x18]
inc dword [esp + 0xc]
fstp qword [esp + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push edi
push edi
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.004d4350
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 4]
push edi
push edi
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
call fcn.004c7b30
mov edx, dword [ebx]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
push ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x118]
test eax, eax
je 0x5ede92
mov eax, dword [esp + 0x2c]
fld qword [eax]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 8]
fadd qword [esp + 0x18]
inc dword [esp + 0xc]
fstp qword [esp + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
push edi
push edi
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.004d4350
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push edi
push edi
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x98]
call fcn.004c7b30
mov edx, dword [ebx]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x50]
push eax
push ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x118]
cmp eax, edi
je 0x5edf0e
mov eax, dword [esp + 0x2c]
fld qword [eax]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 8]
fadd qword [esp + 0x18]
inc dword [esp + 0xc]
fstp qword [esp + 0x18]
cmp dword [esp + 0xc], edi
je 0x5edf62
fild dword [esp + 0xc]
fld qword [esp + 0x10]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x68]
fdiv st(1)
push edx
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fdiv st(1)
fstp qword [esp + 0x1c]
fstp st(0)
call fcn.0064dc70
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x24], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x30], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x158], 2
call fcn.004c7ac0
mov ebx, 0x69dbe8
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x40]
mov byte [esp + 0x158], 4
cmp eax, edi
je 0x5edf98
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x158], 5
cmp eax, edi
je 0x5edfbe
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], 0x69dbfc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x158], 6
cmp eax, edi
je 0x5ee06e
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x5ee06e
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x13c]
fld qword [eax + 0x10]
fadd qword [eax]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
fmul qword [0x691ac8]
fstp qword [esp + 0x6c]
fld qword [eax + 0x18]
fadd qword [eax + 8]
fmul qword [0x691ac8]
fstp qword [esp + 0x74]
call fcn.0064dc70
mov edx, dword [eax]
mov dword [esi + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x30], edx
mov eax, dword [eax + 0x14]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x150]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc