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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f211f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x411814
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x41172e
push 0x3c
mov ecx, 0x533740
call fcn.0040a610
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x411713
push dword [ebp + 8]
mov dword [esi], ebx
call fcn.0040aa40
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov word [esi + 0x38], ax
mov eax, esi
mov byte [esi + 0x3a], 1
mov dword [ebx + 0xc], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov dword [ebx + 0xc], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, eax
mov eax, dword [esi + 4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411753
test dl, dl
je 0x41174f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411753
add eax, 2
add ecx, 2
test dl, dl
jne 0x411733
xor eax, eax
jmp 0x411758
sbb eax, eax
or eax, 1
test eax, eax
je 0x411718
push 0x14
call fcn.00474630
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
push 0x40
mov dword [edi], 0x10
mov dword [edi + 8], 0
call fcn.00474c6b
xor ecx, ecx
mov dword [edi + 4], eax
add esp, 8
cmp dword [edi], ecx
jle 0x41179f
nop
mov eax, dword [edi + 4]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [edi]
jl 0x411790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov eax, dword [ebx + 0xc]
push ecx
mov dword [ebx + 8], edi
mov ecx, edi
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 4]
push eax
mov dword [ebp - 0x10], eax
call fcn.0043d680
test eax, eax
je 0x4117ca
lea ecx, [eax + 8]
jmp 0x411802
push 0xc
mov ecx, 0x533740
call fcn.0040a610
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [edi + 4]
mov ecx, dword [edx + ecx]
mov dword [esi], ecx
lea ecx, [esi + 8]
mov dword [ecx], 0
mov eax, dword [edi + 4]
mov dword [edx + eax], esi
inc dword [edi + 8]
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], 0
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.0043d680
test eax, eax
je 0x411830
lea edi, [eax + 8]
test edi, edi
je 0x411830
mov edi, dword [edi]
jmp 0x4118fa
push 0x3c
mov ecx, 0x533740
call fcn.0040a610
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x411899
push dword [ebp + 8]
mov dword [edi], ebx
call fcn.0040aa40
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov word [edi + 0x38], ax
mov byte [edi + 0x3a], 1
jmp 0x41189b
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
mov ebx, dword [ebx + 8]
push ecx
push eax
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.0043d680
test eax, eax
je 0x4118c0
lea ecx, [eax + 8]
jmp 0x4118f8
push 0xc
mov ecx, 0x533740
call fcn.0040a610
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [ebx + 4]
mov ecx, dword [edx + ecx]
mov dword [esi], ecx
lea ecx, [esi + 8]
mov dword [ecx], 0
mov eax, dword [ebx + 4]
mov dword [edx + eax], esi
inc dword [ebx + 8]
mov dword [ecx], edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4