Function at 0x41d6a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x41d6ad
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d6c6
add esp, 0xfffffff0
call fcn.004029c8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x41db0c
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
xor edx, edx
mov eax, ebx
call fcn.0041b4a4
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x41d488]
call fcn.0041037c
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x10]
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], 0x172
mov dword [esi + 0x88], 0xe3
mov dword [esi + 0x8c], 0x12c
mov dword [esi + 0x90], 0xc8
mov byte [esi + 0x94], 0
mov dword [esi + 0x9c], 0xd5bdd7
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 5
mov dl, 0xe
mov eax, 0x41db40
call fcn.0040f3bc
lea edx, [ebp - 0x14]
lea eax, [esi + 0xa8]
mov ecx, dword [0x40e310]
call fcn.00403964
mov byte [esi + 0xb8], 0
mov byte [esi + 0xba], 0
mov byte [esi + 0xbb], 1
xor eax, eax
mov dword [esi + 0xbc], eax
mov byte [esi + 0xc2], 1
xor eax, eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xd8], 0
lea eax, [esi + 0x80]
xor edx, edx
call fcn.00403218
lea eax, [esi + 0xa4]
xor edx, edx
call fcn.00403218
xor eax, eax
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
mov eax, dword [0x436ad0]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], 4
mov dword [esi + 0xcc], 0xff00000f
xor eax, eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd4], eax
lea eax, [ebp - 0x1c]
mov edx, 0x41db50
call fcn.00403218
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x436ae4]
call fcn.0040e4fc
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x1a4]
call fcn.00403148
mov byte [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 1
mov byte [esi + 0x1a8], 2
mov byte [esi + 0x1a9], 0
mov dword [esi + 0x1ac], 1
mov byte [esi + 0x1b8], 2
mov byte [esi + 0xc0], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40fc24]
call fcn.004028c8
mov esi, eax
mov dword [ebx + 0xc], esi
push 2
lea eax, [esi + 0xc]
mov ecx, 1
mov edx, dword [0x40fbfc]
call fcn.00403e6c
add esp, 4
push 0
lea eax, [esi + 0x10]
mov ecx, 1
mov edx, dword [0x40fc10]
call fcn.00403e6c
add esp, 4
mov dl, 1
mov eax, dword [0x411304]
call fcn.004028c8
mov esi, eax
mov dword [ebx + 0x14], esi
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.0040ef68
lea edx, [ebp - 0x38]
lea eax, [esi + 4]
mov ecx, dword [0x40e2f4]
call fcn.00403964
mov dl, 1
mov eax, dword [0x411304]
call fcn.004028c8
mov esi, eax
mov dword [ebx + 0x18], esi
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.0040ef68
lea edx, [ebp - 0x38]
lea eax, [esi + 4]
mov ecx, dword [0x40e2f4]
call fcn.00403964
mov dl, 1
mov eax, dword [0x41142c]
call fcn.004028c8
mov esi, eax
mov dword [ebx + 0x1c], esi
mov eax, esi
mov byte [eax + 5], 1
mov dx, 2
call fcn.00411494
mov dl, 1
mov eax, dword [0x41142c]
call fcn.004028c8
mov esi, eax
mov dword [ebx + 0x20], esi
mov eax, esi
mov byte [eax + 5], 1
mov dx, 2
call fcn.00411494
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 + 0x14]
push eax
push 0x41136c
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040e4dc
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x18]
push eax
push 0x41136c
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040e4dc
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x1c]
push eax
push 0x4114bc
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040e4dc
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x34], edx
mov eax, dword [ebx + 0x20]
push eax
push 0x4114bc
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040e4dc
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x34], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x4108f0
lea edx, [ebp - 0x44]
mov ax, 1
call fcn.0040e4dc
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x410978
lea edx, [ebp - 0x44]
mov ax, 2
call fcn.0040e4dc
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x41096c
lea edx, [ebp - 0x44]
mov ax, 3
call fcn.0040e4dc
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x10]
push eax
push 0x4108f0
lea edx, [ebp - 0x44]
mov ax, 1
call fcn.0040e4dc
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.004109ac
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00410984
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x7c]
call fcn.0040b3d0
mov eax, dword [ebx + 0x10]
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41db13
lea eax, [ebp - 0x38]
mov edx, dword [0x40e2f4]
call fcn.00403754
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403118
lea eax, [ebp - 0x14]
mov edx, dword [0x40e310]
call fcn.00403754
ret