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

Disassembly:
push 0xffffffffffffffff
push 0x76248a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
sar eax, 2
test eax, eax
je 0x5c4f41
mov eax, dword [esi + 0x18]
add ecx, 0x14
sub eax, dword [esi + 0x14]
sar eax, 2
push eax
call fcn.005c5640
mov eax, dword [esi + 0x18]
xor edi, edi
sub eax, dword [esi + 0x14]
sar eax, 2
mov dword [esp + 0xc], edi
test eax, eax
je 0x5c4f3d
mov eax, dword [esi + 0x14]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 4]
add eax, 0xfffffffe
cmp eax, 0x18
ja case.0x5c49c3.6
movzx eax, byte [eax + 0x5c5000]
jmp dword [eax*4 + 0x5c4fc4]
push 0x220
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x5c4f0f
push 0x220
push 0
push eax
call fcn.006f87a0
mov eax, dword [esi + 0x14]
push 0
push 0x828ac8
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
call fcn.005c3a80
mov ecx, eax
jmp 0x5c4f11
push 0x20
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 1
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
push 0
movdqu xmmword [eax], xmm0
push 0x828ae0
movdqu xmmword [eax + 0x10], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov esi, eax
push esi
call fcn.005d91c0
mov ecx, dword [esp + 0x10]
mov dword [ecx], vtable.PioActTime.0
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
jmp 0x5c4f11
push 0x20
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 2
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
push 0
movdqu xmmword [eax], xmm0
push 0x828afc
movdqu xmmword [eax + 0x10], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov esi, eax
push esi
call fcn.005d91c0
mov ecx, dword [esp + 0x10]
mov dword [ecx], vtable.PioExpTime.0
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
jmp 0x5c4f11
push 0x20
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 3
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
push 0
movdqu xmmword [eax], xmm0
push 0x828b18
movdqu xmmword [eax + 0x10], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov esi, eax
push esi
call fcn.005d91c0
mov ecx, dword [esp + 0x10]
mov dword [ecx], vtable.PioUnitCounter.0
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
jmp 0x5c4f11
push 0x24
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 4
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov eax, dword [esi + 0x14]
push 0x828b38
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
push eax
call fcn.005c3a50
mov ecx, eax
jmp 0x5c4f11
push 0x24
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 5
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov eax, dword [esi + 0x14]
push 0x828b5c
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
push eax
call fcn.005c3b80
mov ecx, eax
jmp 0x5c4f11
push 0x20
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 6
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
push 0
movdqu xmmword [eax], xmm0
push 0x828b7c
movdqu xmmword [eax + 0x10], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov esi, eax
push esi
call fcn.005d91c0
mov ecx, dword [esp + 0x10]
mov dword [ecx], vtable.PioFeatureMap.0
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
jmp 0x5c4f11
push 0x28
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 7
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
push 0x828b98
movq qword [eax + 0x20], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
push eax
call fcn.005c3a20
mov ecx, eax
jmp 0x5c4f11
push 0x20
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 8
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
push 0
movdqu xmmword [eax], xmm0
push 0x828bbc
movdqu xmmword [eax + 0x10], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov esi, eax
push esi
call fcn.005d91c0
mov ecx, dword [esp + 0x10]
mov dword [ecx], vtable.PioBorrowExpTime.0
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
jmp 0x5c4f11
push 0x68
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 9
test eax, eax
je 0x5c4f0f
push 0x68
push 0
push eax
call fcn.006f87a0
mov eax, dword [esi + 0x14]
push 0
push 0x828bdc
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
call fcn.005c3980
mov ecx, eax
jmp 0x5c4f11
push 0x30
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0xa
test eax, eax
je 0x5c4f0f
push 0x30
push 0
push eax
call fcn.006f87a0
mov eax, dword [esi + 0x14]
push 0
push 0x828bf8
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
call fcn.005c3b40
mov ecx, eax
jmp 0x5c4f11
push 0x124
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0xb
test eax, eax
je 0x5c4f0f
push 0x124
push 0
push eax
call fcn.006f87a0
mov eax, dword [esi + 0x14]
push 0
push 0x828c18
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
call fcn.005c3ac0
mov ecx, eax
jmp 0x5c4f11
push 0x20
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0xc
test eax, eax
je 0x5c4f0f
xorps xmm0, xmm0
push 0
movdqu xmmword [eax], xmm0
push 0x828c34
movdqu xmmword [eax + 0x10], xmm0
mov eax, dword [esi + 0x14]
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov esi, eax
push esi
call fcn.005d91c0
mov ecx, dword [esp + 0x10]
mov dword [ecx], vtable.PioStatus.0
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
jmp 0x5c4f11
push 0x4c
call fcn.006f7558
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0xd
test eax, eax
je 0x5c4f0f
push 0x4c
push 0
push eax
call fcn.006f87a0
mov eax, dword [esi + 0x14]
push 0
push 0x828c4c
push 0x828ab0
push 0
push dword [eax + edi*4]
call fcn.006f95df
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
call fcn.005c3940
mov ecx, eax
jmp 0x5c4f11
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [eax + 0x14]
mov dword [eax + edi*4], ecx
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0xc]
sub eax, dword [esi + 0x14]
inc edi
sar eax, 2
mov dword [esp + 0xc], edi
cmp edi, eax
jb 0x5c49a7
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
movzx eax, word [esi + 0xe]
mov word [ecx + 0xe], ax
movzx eax, word [esi + 0xc]
mov word [ecx + 0xc], ax
movzx eax, word [esi + 0x10]
mov word [ecx + 0x10], ax
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ecx + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [ecx + 0x30], xmm0
movq xmm0, qword [esi + 0x41]
movq qword [ecx + 0x41], xmm0
movzx eax, word [esi + 0x49]
mov word [ecx + 0x49], ax
mov al, byte [esi + 0x40]
mov byte [ecx + 0x40], al
mov eax, dword [esi]
mov dword [ecx], eax
movq xmm0, qword [esi + 0x4b]
movq qword [ecx + 0x4b], xmm0
movzx eax, word [esi + 0x53]
mov word [ecx + 0x53], ax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4