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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cecb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x1010e5b8]
push esi
mov dword [ebp - 0x20], eax
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x10059c81
push ebx
push edi
lea edi, [esi + 8]
push edi
lea ecx, [ebp - 0x60]
call fcn.10053d30
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10053d30
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [eax + 0x14], 8
jb 0x10059b16
mov ecx, dword [eax]
cmp dword [ebp - 0x4c], 8
lea edi, [ebp - 0x60]
mov ebx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
cmovae edi, ebx
mov dword [ebp - 0x10], ebx
cmp edx, dword [eax + 0x10]
jne 0x10059bfe
test edx, edx
je 0x10059b55
sub edi, ecx
jmp 0x10059b40
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10059bfe
add ecx, 2
sub edx, 1
jne 0x10059b40
mov eax, 0x1010e5b8
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1010e5b8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], eax
mov edi, dword [eax]
cmp edi, eax
je 0x10059bd5
mov esi, dword [ebp - 0x18]
lea esp, [esp]
mov ebx, dword [edi]
lea ecx, [ebp - 0x60]
lea eax, [edi + 8]
push ecx
push eax
call fcn.10053740
add esp, 8
test al, al
je 0x10059bc8
lea eax, [ebp - 0x48]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.10053740
add esp, 8
test al, al
je 0x10059bc8
dec dword [esi + 4]
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], edi
mov edi, ebx
cmp ebx, dword [ebp - 0x1c]
jne 0x10059b80
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10059bfb
lea esp, [esp]
mov edi, dword [ebx]
lea ecx, [ebx + 8]
call fcn.10053f90
push 0x38
push ebx
call fcn.100a576e
add esp, 8
mov ebx, edi
test edi, edi
jne 0x10059be0
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10059c38
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059c2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059d8b
push edx
push ecx
call fcn.100a576e
add esp, 8
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x10059c6f
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10059c65
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059d8b
push ecx
push ebx
call fcn.100a576e
add esp, 8
mov eax, dword [esi]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp eax, dword [ebp - 0x20]
jne 0x10059ae3
pop edi
pop ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.10053d30
push dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.10053d30
cmp dword [0x1010e5bc], 0x4924924
mov esi, dword [0x1010e5b8]
mov dword [ebp - 4], 2
je 0x10059d81
mov dword [ebp - 0x24], 0x1010e5b8
push 0x38
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 0
call fcn.100a573e
mov edx, eax
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
add esp, 4
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edx + 0x10], ecx
lea ecx, [ebp - 0x60]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x1c], eax
xor eax, eax
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x34], eax
xor eax, eax
inc dword [0x1010e5bc]
mov word [ebp - 0x48], ax
mov eax, dword [esi + 4]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [esi + 4], edx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov dword [eax], edx
call fcn.10053f90
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.100a4817
call fcn.100b477d
int3