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

Disassembly:
push 0xffffffffffffffff
push 0x7cdd37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
mov ebx, ecx
push ebp
push esi
lea esi, [ebx + 0x30]
push edi
sub esp, 0x10
mov dword [esp + 0x48], 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 + 0xa8]
push edx
mov ecx, esi
call fcn.0057ff40
mov edx, dword [esp + 0xf8]
xor ebp, ebp
mov edi, dword [edx + 8]
cmp edi, ebp
mov dword [esp + 0x1c], edi
je 0x5ead26
mov eax, dword [ebx + 0x14]
cmp eax, ebp
je 0x5ead26
mov ecx, dword [eax + 0xbc]
cmp ecx, ebp
je 0x5ead26
lea eax, [esp + 0x40]
push eax
push edi
push edx
call fcn.0043dbb0
cmp eax, ebp
je 0x5ead26
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
mov dword [esp + 0x20], ebx
test edi, edi
mov dword [esp + 0x3c], ecx
jle 0x5eac41
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx + 4]
mov ecx, 0x7e5658
test eax, eax
je 0x5ea6fa
lea ecx, [eax + ebx]
cmp byte [ecx], 0xa
jne 0x5ea833
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], dl
call fcn.00404e60
mov eax, ebx
mov dword [esp + 0xf0], 0
sub eax, ebp
test eax, eax
jle 0x5ea7b2
lea edi, [eax + 1]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xac]
mov byte [esp + 0xac], al
call fcn.00404e60
push edi
lea ecx, [esp + 0xdc]
push ebp
push ecx
mov ecx, dword [esp + 0x104]
mov byte [esp + 0xfc], 1
call fcn.0040b2a0
mov edx, dword [0x7e565c]
lea ecx, [esp + 0x48]
push edx
push 0
push eax
mov byte [esp + 0xfc], 2
call fcn.00404c60
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0xf4], 1
call fcn.00404e60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xf4], 0
call fcn.00404e60
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5ea7e4
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5ea7e4
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5ea7f4
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.00508b00
add esp, 8
mov ecx, esi
call fcn.005802b0
jmp 0x5ea802
mov ecx, esi
call fcn.005802b0
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x10]
mov dword [esi + 0x1c], ecx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.00508b00
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xf4], 0xffffffff
call fcn.00404e60
jmp 0x5eac33
test eax, eax
mov ecx, 0x7e5658
je 0x5ea83f
lea ecx, [eax + ebx]
cmp byte [ecx], 0x7c
jne 0x5ea96d
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], al
call fcn.00404e60
mov edi, ebx
mov dword [esp + 0xf0], 3
sub edi, ebp
test edi, edi
jle 0x5ea8ec
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x9c], cl
lea ecx, [esp + 0x9c]
call fcn.00404e60
mov ecx, dword [esp + 0xf8]
push edi
lea edx, [esp + 0xbc]
push ebp
push edx
mov byte [esp + 0xfc], 4
call fcn.0040b2a0
mov ecx, dword [0x7e565c]
mov byte [esp + 0xf0], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.00404c60
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf4], 4
call fcn.00404e60
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf4], 3
call fcn.00404e60
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5ea91e
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5ea91e
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5ea92e
lea edx, [esp + 0x58]
push edx
push eax
call fcn.00508b00
add esp, 8
mov ecx, esi
call fcn.005802b0
jmp 0x5ea93c
mov ecx, esi
call fcn.005802b0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.00508b00
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xf4], 0xffffffff
call fcn.00404e60
jmp 0x5eac2f
test eax, eax
mov ecx, 0x7e5658
je 0x5ea979
lea ecx, [eax + ebx]
test byte [ecx], 0x80
je 0x5ea988
mov dword [esp + 0x24], 2
jmp 0x5ea9a5
test eax, eax
mov dword [esp + 0x24], 1
mov ecx, 0x7e5658
je 0x5ea99c
lea ecx, [eax + ebx]
cmp byte [ecx], 0x20
jne 0x5ea9a5
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x5ea9b0
mov ebx, 0x7e5658
jmp 0x5ea9b2
add ebx, eax
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x7c], dl
call fcn.00404e60
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 + 0x80]
call fcn.00404eb0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xf0], 6
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x5eaa0f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x7c]
push eax
push edx
call fcn.0043dbb0
or ebx, 0xffffffff
push 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0xf4], ebx
call fcn.00404e60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x5eac11
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5eab27
cmp eax, dword [esp + 0x14]
jge 0x5eab27
mov dl, byte [esp + 0x13]
mov edi, eax
sub edi, ebp
inc eax
push 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x18], eax
mov byte [esp + 0x6c], dl
call fcn.00404e60
mov ecx, dword [esp + 0xf8]
push edi
lea eax, [esp + 0xcc]
push ebp
push eax
mov dword [esp + 0xfc], 7
call fcn.0040b2a0
mov ecx, dword [0x7e565c]
mov byte [esp + 0xf0], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x74]
call fcn.00404c60
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf4], 7
call fcn.00404e60
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5eaaf0
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5eaaf0
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5eab00
lea edx, [esp + 0x68]
push edx
push eax
call fcn.00508b00
add esp, 8
mov ecx, esi
call fcn.005802b0
jmp 0x5eab0e
mov ecx, esi
call fcn.005802b0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.00508b00
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
mov dword [esp + 0xf4], ebx
lea ecx, [esp + 0x6c]
jmp 0x5eabfe
mov edi, dword [esp + 0x14]
sub edi, ebp
test edi, edi
jle 0x5eac3d
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call fcn.00404e60
mov ecx, dword [esp + 0xf8]
push edi
lea eax, [esp + 0x8c]
push ebp
push eax
mov dword [esp + 0xfc], 9
call fcn.0040b2a0
mov ecx, dword [0x7e565c]
mov byte [esp + 0xf0], 0xa
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.00404c60
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 9
call fcn.00404e60
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5eabcc
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5eabcc
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5eabdc
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00508b00
add esp, 8
mov ecx, esi
call fcn.005802b0
jmp 0x5eabea
mov ecx, esi
call fcn.005802b0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00508b00
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
mov dword [esp + 0xf4], ebx
lea ecx, [esp + 0x2c]
call fcn.00404e60
mov ebp, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
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 0x5ea6e4
jmp 0x5eac41
mov edi, dword [esp + 0x1c]
sub edi, ebp
test edi, edi
jle 0x5ead1d
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00404e60
mov ecx, dword [esp + 0xf8]
push edi
lea edx, [esp + 0x8c]
mov ebx, 0xb
push ebp
push edx
mov dword [esp + 0xfc], ebx
call fcn.0040b2a0
mov ecx, dword [0x7e565c]
mov byte [esp + 0xf0], 0xc
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.00404c60
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], bl
call fcn.00404e60
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5eace2
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5eace2
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5eacf2
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00508b00
add esp, 8
mov ecx, esi
call fcn.005802b0
jmp 0x5ead00
mov ecx, esi
call fcn.005802b0
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00508b00
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00404e60
mov ecx, dword [esp + 0x38]
call fcn.005ead50
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 4