Function at 0x4088b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c05d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x463188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp byte [edi + 0xe], 0
jne 0x408b9f
cmp byte [edi + 0xd], 0
jne 0x408b9f
mov edx, dword [edi + 8]
cmp edx, 0xffffffff
je 0x408b9f
mov esi, dword [edi]
cmp dword [esi + 0x10], 0
je 0x40890c
mov eax, dword [esi + 8]
add eax, edx
jmp 0x40890e
xor eax, eax
mov al, byte [eax]
cmp al, 5
jne 0x408b9f
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0xe], 0
jne 0x408952
cmp byte [ecx + 0xd], 0
jne 0x408b9f
mov ebx, dword [ecx + 8]
cmp ebx, 0xffffffff
je 0x408b9f
mov eax, dword [ecx]
cmp dword [eax + 0x10], 0
je 0x408946
mov eax, dword [eax + 8]
add eax, ebx
jmp 0x408948
xor eax, eax
mov al, byte [eax]
cmp al, 3
jne 0x408b9f
cmp dword [esi + 0x10], 0
je 0x40895f
mov eax, dword [esi + 8]
add eax, edx
jmp 0x408961
xor eax, eax
lea esi, [eax + 1]
push ecx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x28], esi
push eax
call fcn.004090b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
cmp byte [edi + 0xf], 0
je 0x40898c
lea eax, [ebp - 0x3c]
push eax
call fcn.0040a8a0
jmp 0x408995
lea eax, [ebp - 0x34]
push eax
call fcn.0040a840
cmp byte [edi + 0xf], 0
lea ecx, [ebp - 0x6c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
je 0x4089ab
call fcn.0040a5e0
jmp 0x4089b0
call fcn.0040a720
mov dword [ebp - 0x2c], eax
mov al, byte [edi + 0xf]
mov dword [ebp - 0x24], eax
test al, al
mov eax, dword [ebp - 0x10]
je 0x4089c2
add eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
mov ebx, dword [esi]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], ebx
cmp ebx, 0x20
ja 0x408a3a
xor esi, esi
test ebx, ebx
je 0x408b78
push esi
lea ecx, [ebp - 0x50]
call fcn.00408c10
test eax, eax
je 0x408a08
inc esi
cmp esi, ebx
jb 0x4089f1
jmp 0x408b78
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [eax + esi*8 + 8]
push edi
call fcn.00407f00
lea ecx, [ebp - 0x6c]
call fcn.00407e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 0x100
ja 0x408aa6
lea eax, [esi + 4]
mov esi, ebx
lea eax, [eax + ebx*8]
mov dword [ebp - 0x38], eax
mov ecx, eax
mov dword [ebp - 0x14], ecx
test esi, esi
jle 0x408a94
mov ebx, eax
mov edi, esi
lea ecx, [ebp - 0x50]
shr edi, 1
lea eax, [edi + ebx]
mov dword [ebp - 0x20], eax
movzx eax, byte [eax]
push eax
call fcn.00408c10
test eax, eax
jns 0x408a7f
mov ebx, dword [ebp - 0x20]
or eax, 0xffffffff
sub eax, edi
inc ebx
add esi, eax
jmp 0x408a81
mov esi, edi
test esi, esi
jg 0x408a58
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add eax, ebx
cmp ecx, eax
je 0x408b78
movzx esi, byte [ecx]
jmp 0x408b62
lea eax, [ebx*8 + 4]
add eax, esi
mov dword [ebp - 0x20], eax
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ebx, 0x10000
ja 0x408b12
lea eax, [ebx + ebx]
mov esi, eax
mov dword [ebp - 0x38], eax
sar esi, 1
test esi, esi
jle 0x408b06
lea ecx, [ecx]
mov edi, esi
shr edi, 1
movzx eax, word [ecx + edi*2]
lea ebx, [ecx + edi*2]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408c10
test eax, eax
jns 0x408af7
or eax, 0xffffffff
lea ecx, [ebx + 2]
sub eax, edi
mov dword [ebp - 0x14], ecx
add esi, eax
jmp 0x408afc
mov ecx, dword [ebp - 0x14]
mov esi, edi
test esi, esi
jg 0x408ad0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x20]
cmp ecx, eax
je 0x408b78
movzx esi, word [ecx]
jmp 0x408b62
lea eax, [ebx*4]
mov esi, eax
mov dword [ebp - 0x38], eax
sar esi, 2
test esi, esi
jle 0x408b59
mov edi, esi
shr edi, 1
push dword [ecx + edi*4]
lea ebx, [ecx + edi*4]
lea ecx, [ebp - 0x50]
call fcn.00408c10
test eax, eax
jns 0x408b4a
or eax, 0xffffffff
lea ecx, [ebx + 4]
sub eax, edi
mov dword [ebp - 0x14], ecx
add esi, eax
jmp 0x408b4f
mov ecx, dword [ebp - 0x14]
mov esi, edi
test esi, esi
jg 0x408b25
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x20]
cmp ecx, eax
je 0x408b78
mov esi, dword [ecx]
cmp esi, 0xffffffff
je 0x408b78
push esi
lea ecx, [ebp - 0x50]
call fcn.00408c10
test eax, eax
je 0x408a08
mov ecx, dword [ebp + 8]
call fcn.00407f90
lea ecx, [ebp - 0x6c]
call fcn.00407e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8