Function at 0x41db40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x41db5a
add esp, 0xfffffff0
call fcn.00402950
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x41dd70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.00411c30
mov dword [ebx + 0x20], esi
mov dl, 1
mov eax, dword [0x412014]
call fcn.00402850
mov esi, eax
mov dword [ebx + 0xc], esi
push 1
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x411fec]
call fcn.00403de8
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x412000]
call fcn.00403de8
add esp, 4
mov dl, 1
mov eax, dword [0x41d660]
call fcn.00402850
mov esi, eax
mov dword [ebx + 0x10], esi
lea eax, [esi + 8]
xor edx, edx
call fcn.004031a0
mov dl, 1
mov eax, dword [0x41d7e8]
call fcn.00402850
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, esi
mov byte [eax + 8], 2
mov dl, 1
mov eax, dword [0x41d974]
call fcn.00402850
mov dword [ebx + 0x18], eax
mov dl, 1
mov eax, dword [0x4161c4]
call fcn.00402850
mov esi, eax
mov dword [ebx + 0x1c], esi
lea eax, [ebp - 8]
xor edx, edx
call fcn.004031a0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00416258
mov byte [esi + 8], 1
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x10]
push eax
push 0x41d6fc
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040c814
mov esi, dword [ebx + 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 8], edx
push esi
push 0x41208c
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040c814
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0xc]
push eax
push 0x41208c
lea edx, [ebp - 0x14]
mov ax, 1
call fcn.0040c814
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov eax, dword [ebx + 0x18]
push eax
push 0x41da58
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040c814
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x18]
push eax
push 0x41d9e4
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040c814
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0x1c]
push eax
push 0x41627c
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040c814
mov esi, dword [ebx + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
push esi
push 0x41d858
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040c814
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x34], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd77
lea eax, [ebp - 8]
call fcn.0040307c
ret