Function at 0x5c57d0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x752501
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov ebx, ecx
push ebp
push esi
lea esi, [ebx + 0x30]
push edi
sub esp, 0x10
mov dword [esp + 0x44], ebx
lea eax, [esi + 0x14]
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, esp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.005655b0
mov edx, dword [esp + 0xd4]
xor ebp, ebp
mov edi, dword [edx + 8]
cmp edi, ebp
mov dword [esp + 0x1c], edi
je 0x5c5dd8
mov eax, dword [ebx + 0x14]
cmp eax, ebp
je 0x5c5dd8
mov ecx, dword [eax + 0xbc]
cmp ecx, ebp
je 0x5c5dd8
lea eax, [esp + 0x38]
push eax
push edi
push edx
call fcn.00438080
cmp eax, ebp
je 0x5c5dd8
mov eax, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0x88]
sub ecx, edx
test edi, edi
mov dword [esp + 0x40], ecx
jle 0x5c5cf9
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 4]
mov ecx, 0x765608
test eax, eax
je 0x5c58c6
lea ecx, [eax + ebx]
cmp byte [ecx], 0xa
jne 0x5c59ff
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00404760
mov eax, ebx
mov dword [esp + 0xcc], 0
sub eax, ebp
test eax, eax
jle 0x5c597e
lea edi, [eax + 1]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x98]
mov byte [esp + 0x98], al
call fcn.00404760
push edi
lea ecx, [esp + 0xb8]
push ebp
push ecx
mov ecx, dword [esp + 0xe0]
mov byte [esp + 0xd8], 1
call fcn.0040aa70
mov edx, dword [0x76560c]
lea ecx, [esp + 0x44]
push edx
push 0
push eax
mov byte [esp + 0xd8], 2
call fcn.00404560
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd0], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xd0], 0
call fcn.00404760
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5c59b0
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5c59b0
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5c59c0
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5c59ce
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x10]
mov dword [esi + 0x1c], ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004f1770
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xd0], 0xffffffff
call fcn.00404760
jmp 0x5c5ceb
test eax, eax
mov ecx, 0x765608
je 0x5c5a0b
lea ecx, [eax + ebx]
cmp byte [ecx], 0x7c
jne 0x5c5b39
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00404760
mov edi, ebx
mov dword [esp + 0xcc], 3
sub edi, ebp
test edi, edi
jle 0x5c5ab8
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x88]
call fcn.00404760
mov ecx, dword [esp + 0xd4]
push edi
lea edx, [esp + 0xa8]
push ebp
push edx
mov byte [esp + 0xd8], 4
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0xcc], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.00404560
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 4
call fcn.00404760
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 3
call fcn.00404760
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5c5aea
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5c5aea
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5c5afa
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5c5b08
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xd0], 0xffffffff
call fcn.00404760
jmp 0x5c5ce7
test eax, eax
mov edi, 0x765608
je 0x5c5b45
lea edi, [eax + ebx]
mov dl, byte [edi]
and dl, 0x80
neg dl
sbb edx, edx
neg edx
inc edx
test eax, eax
mov dword [esp + 0x30], edx
jne 0x5c5b60
mov ebx, 0x765608
jmp 0x5c5b62
add ebx, eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call fcn.00404760
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
lea ecx, [esp + 0x6c]
call fcn.004047b0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xcc], 6
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x5c5bbc
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x68]
push eax
push edx
call fcn.00438080
or ebx, 0xffffffff
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0xd0], ebx
call fcn.00404760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
jle 0x5c5cc9
mov edi, dword [esp + 0x14]
sub edi, ebp
test edi, edi
jle 0x5c5cf5
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
call fcn.00404760
mov ecx, dword [esp + 0xd4]
push edi
lea eax, [esp + 0x78]
push ebp
push eax
mov dword [esp + 0xd8], 7
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0xcc], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00404560
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], 7
call fcn.00404760
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5c5c86
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5c5c86
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5c5c96
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5c5ca4
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0xd0], ebx
call fcn.00404760
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
add edi, edx
add ecx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov ebx, edi
mov edi, dword [esp + 0x1c]
cmp ebx, edi
jl 0x5c58b0
jmp 0x5c5cf9
mov edi, dword [esp + 0x1c]
sub edi, ebp
test edi, edi
jle 0x5c5dcf
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
call fcn.00404760
mov ecx, dword [esp + 0xd4]
push edi
lea edx, [esp + 0x78]
mov ebx, 9
push ebp
push edx
mov dword [esp + 0xd8], ebx
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0xcc], 0xa
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00404560
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], bl
call fcn.00404760
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5c5d94
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5c5d94
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5c5da4
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5c5db2
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00404760
mov ecx, dword [esp + 0x34]
call fcn.005cb7e0
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 4