Function at 0x40c2e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x40c2e8
push ecx
push ebx
push esi
test dl, dl
je 0x40c2fe
add esp, 0xfffffff0
call fcn.004028c0
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x40c8ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004027c0
mov dword [0x40e55c], esi
xor ecx, ecx
mov dl, 1
mov eax, dword [0x40adc8]
call fcn.0040aed8
mov ebx, eax
mov dword [esi + 4], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 0xd1
mov dword [ebx + 0x90], 0x6b
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0xff00000f
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x40c8dc
call fcn.00409c50
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x4096b0]
call fcn.004036cc
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
xor eax, eax
mov dword [ebx + 0xbc], eax
mov byte [ebx + 0xc2], 1
xor eax, eax
mov dword [ebx + 0x98], eax
mov byte [ebx + 0xa0], 1
mov byte [ebx + 0xd8], 0
lea eax, [ebx + 0x80]
xor edx, edx
call fcn.00403110
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403110
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0x1c5], 0xff
lea eax, [ebp - 0x18]
mov edx, 0x40c8ec
call fcn.00403110
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0040b354
mov dl, 2
mov eax, ebx
call fcn.0040b388
mov byte [ebx + 0x1c6], 0
push 0x40c8f4
mov eax, dword [0x40d2e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, ebx
call fcn.0040b428
xor edx, edx
mov eax, ebx
call fcn.0040b3fc
mov byte [ebx + 0x1c4], 0
mov dword [ebx + 0x1d8], 0xffffff
lea eax, [ebx + 0x1c8]
xor edx, edx
call fcn.00403110
mov byte [ebx + 0xc0], 0
mov byte [ebx + 0x1cd], 0
mov dword [ebx + 0x1d4], ebx
mov dword [ebx + 0x1d0], 0x40ba98
xor eax, eax
mov dword [ebx + 0x1bc], eax
xor eax, eax
mov dword [ebx + 0x1c0], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x40bb44]
call fcn.0040a330
mov ebx, eax
mov dword [esi + 8], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 0xfffffffb
mov dword [ebx + 0x88], 0x19
mov dword [ebx + 0x8c], 0xb9
mov dword [ebx + 0x90], 0x23
mov byte [ebx + 0x94], 0
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x40c8dc
call fcn.00409c50
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x4096b0]
call fcn.004036cc
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
xor eax, eax
mov dword [ebx + 0xbc], eax
mov byte [ebx + 0xc2], 1
xor eax, eax
mov dword [ebx + 0x98], eax
mov byte [ebx + 0xa0], 1
mov byte [ebx + 0xd8], 0
lea eax, [ebx + 0x80]
xor edx, edx
call fcn.00403110
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403110
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
lea eax, [ebx + 0x1cc]
mov edx, 0x40c8fc
call fcn.00403110
mov byte [ebx + 0xc1], 0
mov byte [ebx + 0x1d0], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x40bc98]
call fcn.0040bd4c
mov ebx, eax
mov dword [esi + 0xc], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 0xb9
mov dword [ebx + 0x90], 0x14
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0xff000005
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x40c8dc
call fcn.00409c50
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x4096b0]
call fcn.004036cc
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
xor eax, eax
mov dword [ebx + 0xbc], eax
mov byte [ebx + 0xc2], 1
xor eax, eax
mov dword [ebx + 0x98], eax
mov byte [ebx + 0xa0], 0
mov byte [ebx + 0xd8], 0
lea eax, [ebx + 0x80]
xor edx, edx
call fcn.00403110
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403110
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x40d2e4]
mov eax, dword [eax]
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc8], 4
mov dword [ebx + 0xcc], 0xff00000f
xor eax, eax
mov dword [ebx + 0xd0], eax
xor eax, eax
mov dword [ebx + 0xd4], eax
lea eax, [ebx + 0x1c0]
mov edx, 0x40c910
call fcn.00403110
mov byte [ebx + 0x1c5], 0
mov dword [ebx + 0x1b8], ebx
mov dword [ebx + 0x1b4], 0x40be54
mov byte [ebx + 0x1bc], 0
mov byte [ebx + 0x1c4], 0
xor eax, eax
mov dword [ebx + 0x1c8], eax
mov byte [ebx + 0x1bd], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40c028]
call fcn.004027c0
mov ebx, eax
mov dword [esi + 0x10], ebx
lea eax, [ebx + 4]
mov edx, 0x40c928
call fcn.00403110
lea eax, [ebx + 8]
mov edx, 0x40c930
call fcn.00403110
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
xor eax, eax
mov dword [ebx + 0x14], eax
mov dl, 1
mov eax, dword [0x40c028]
call fcn.004027c0
mov ebx, eax
mov dword [esi + 0x14], ebx
lea eax, [ebx + 4]
mov edx, 0x40c93c
call fcn.00403110
lea eax, [ebx + 8]
mov edx, 0x40c954
call fcn.00403110
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
xor eax, eax
mov dword [ebx + 0x14], eax
mov dl, 1
mov eax, dword [0x40c028]
call fcn.004027c0
mov ebx, eax
mov dword [esi + 0x18], ebx
lea eax, [ebx + 4]
mov edx, 0x40c964
call fcn.00403110
lea eax, [ebx + 8]
mov edx, 0x40c984
call fcn.00403110
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 1
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x10]
push eax
push 0x40c09c
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.004097b4
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1a4], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1a8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1ac], edx
mov eax, dword [esi + 0x14]
push eax
push 0x40c09c
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.004097b4
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [esi + 0x18]
push eax
push 0x40c09c
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.004097b4
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [esi + 4]
xor edx, edx
call fcn.0040a804
mov eax, dword [esi + 4]
xor edx, edx
call fcn.0040a7dc
mov eax, dword [esi + 4]
xor edx, edx
call fcn.0040ae78
mov eax, dword [esi + 4]
xor edx, edx
mov dword [eax + 0x1b8], edx
mov eax, dword [esi + 8]
xor edx, edx
call fcn.0040a804
mov eax, dword [esi + 8]
xor edx, edx
call fcn.0040a7dc
mov eax, dword [esi + 0xc]
xor edx, edx
call fcn.0040a804
mov eax, dword [esi + 0xc]
xor edx, edx
call fcn.0040a7dc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x7c]
call fcn.00408210
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8b5
lea eax, [ebp - 0x18]
call fcn.00402fec
lea eax, [ebp - 0x14]
mov edx, dword [0x4096b0]
call fcn.004035b4
ret