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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100caf05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x101075b8]
push esi
mov dword [ebp - 0x20], eax
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x10057911
push ebx
push edi
lea edi, [esi + 8]
push edi
lea ecx, [ebp - 0x60]
call fcn.100519c0
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.100519c0
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [eax + 0x14], 8
jb 0x100577a6
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 0x1005788e
test edx, edx
je 0x100577e5
sub edi, ecx
jmp 0x100577d0
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x1005788e
add ecx, 2
sub edx, 1
jne 0x100577d0
mov eax, 0x101075b8
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 [0x101075b8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], eax
mov edi, dword [eax]
cmp edi, eax
je 0x10057865
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.100513d0
add esp, 8
test al, al
je 0x10057858
lea eax, [ebp - 0x48]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.100513d0
add esp, 8
test al, al
je 0x10057858
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 0x10057810
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1005788b
lea esp, [esp]
mov edi, dword [ebx]
lea ecx, [ebx + 8]
call fcn.10051c20
push 0x38
push ebx
call fcn.100a1a2e
add esp, 8
mov ebx, edi
test edi, edi
jne 0x10057870
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100578c8
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100578be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057a1b
push edx
push ecx
call fcn.100a1a2e
add esp, 8
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x100578ff
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100578f5
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10057a1b
push ecx
push ebx
call fcn.100a1a2e
add esp, 8
mov eax, dword [esi]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp eax, dword [ebp - 0x20]
jne 0x10057773
pop edi
pop ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.100519c0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.100519c0
cmp dword [0x101075bc], 0x4924924
mov esi, dword [0x101075b8]
mov dword [ebp - 4], 2
je 0x10057a11
mov dword [ebp - 0x24], 0x101075b8
push 0x38
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 0
call fcn.100a19fe
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 [0x101075bc]
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.10051c20
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.100a0ad7
call fcn.100b0a3d
int3