Function at 0x41d8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x41d8c8
push ebx
push esi
test dl, dl
je 0x41d8dd
add esp, 0xfffffff0
call fcn.00402a58
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x41e2e2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00402940
mov dword [0x4247f0], esi
xor ecx, ecx
mov dl, 1
mov eax, dword [0x40eec8]
call fcn.0040efd8
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], 0x400
mov dword [ebx + 0x90], 0x300
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0xff00000f
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 0xe
mov eax, 0x41e310
call fcn.0040d4bc
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c6d4]
call fcn.00403bf4
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.004034a8
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.004034a8
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0x1c9], 0xff
lea eax, [ebp - 0x18]
mov edx, 0x41e31c
call fcn.004034a8
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0040f4cc
mov dl, 1
mov eax, ebx
call fcn.0040f500
mov byte [ebx + 0x1ca], 0
push 0x41e340
mov eax, dword [0x423894]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, ebx
call fcn.0040f5a4
xor edx, edx
mov eax, ebx
call fcn.0040f578
mov byte [ebx + 0x1c8], 0
mov dword [ebx + 0x1dc], 0xffffff
lea eax, [ebx + 0x1cc]
xor edx, edx
call fcn.004034a8
mov byte [ebx + 0xc0], 0
mov byte [ebx + 0x1d1], 0
mov dword [ebx + 0x1d8], ebx
mov dword [ebx + 0x1d4], 0x40fc70
xor eax, eax
mov dword [ebx + 0x1c0], eax
xor eax, eax
mov dword [ebx + 0x1c4], eax
mov byte [ebx + 0x1e0], 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 [0x40fe5c]
call fcn.0040fed4
mov ebx, eax
mov dword [esi + 8], ebx
mov byte [ebx + 0x14], 1
mov eax, ebx
call fcn.0040ff90
mov dword [ebx + 0x24], esi
push 1
lea eax, [ebx + 0x1c]
mov ecx, 1
mov edx, dword [0x40fe34]
call fcn.004040fc
add esp, 4
push 3
lea eax, [ebx + 0x20]
mov ecx, 1
mov edx, dword [0x40fe48]
call fcn.004040fc
add esp, 4
mov dl, 1
mov eax, dword [0x4102dc]
call fcn.0041035c
mov ebx, eax
mov dword [esi + 0xc], ebx
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0x1f42
lea eax, [ebx + 0x1c]
mov edx, 0x41e348
call fcn.004034a8
lea eax, [ebx + 0x20]
mov edx, 0x41e34c
call fcn.004034a8
mov byte [ebx + 0x24], 0
mov byte [ebx + 0x25], 0
mov byte [ebx + 0x26], 1
mov dl, 1
mov eax, dword [0x4108ec]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x10], ebx
lea eax, [ebp - 0x18]
mov edx, 0x41e360
call fcn.004034a8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
call fcn.0040d214
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0041095c
mov dl, 1
mov eax, dword [0x410aac]
call fcn.00402940
mov dword [esi + 0x14], eax
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x18], ebx
mov eax, ebx
mov byte [eax + 5], 1
mov dx, 2
call fcn.00410cc4
mov dl, 1
mov eax, dword [0x410d54]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x1c], ebx
mov byte [ebx + 5], 0
mov byte [ebx + 6], 0
lea eax, [ebx + 8]
xor edx, edx
call fcn.004034a8
mov byte [ebx + 0xc], 0
lea eax, [ebx + 0x10]
mov edx, 0x41e378
call fcn.004034a8
lea eax, [ebx + 0x14]
mov edx, 0x41e37c
call fcn.004034a8
mov dl, 1
mov eax, dword [0x410fc4]
call fcn.00411038
mov ebx, eax
mov dword [esi + 0x20], ebx
lea eax, [ebx + 0x14]
xor edx, edx
call fcn.004034a8
mov byte [ebx + 0x18], 0
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.004034a8
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004110bc
mov dl, 1
mov eax, dword [0x411350]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x24], ebx
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov edx, 0x41e37c
call fcn.004034a8
mov dl, 1
mov eax, dword [0x411800]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x28], ebx
mov byte [ebx + 4], 0
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.0040d20c
lea edx, [ebp - 0x34]
lea eax, [ebx + 0x24]
mov ecx, dword [0x40c6b8]
call fcn.00403bf4
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00402940
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov byte [eax + 5], 1
mov dx, 3
call fcn.00410cc4
mov dl, 1
mov eax, dword [0x411d54]
call fcn.00402940
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x30]
lea eax, [ebx + 0xc]
mov edx, 0x41e37c
call fcn.004034a8
xor eax, eax
mov dword [ebx + 0x10], eax
mov dx, 0xa
mov eax, ebx
call fcn.00411df8
mov byte [ebx + 8], 0
mov dl, 1
mov eax, dword [0x411f50]
call fcn.00402940
mov dword [esi + 0x34], eax
mov ebx, dword [esi + 0x34]
lea eax, [ebp - 0x18]
mov edx, 0x41e380
call fcn.004034a8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
call fcn.0040d214
lea edx, [ebp - 0x34]
lea eax, [ebx + 4]
mov ecx, dword [0x40c6b8]
call fcn.00403bf4
mov dl, 1
mov eax, dword [0x412064]
call fcn.00402940
mov dword [esi + 0x38], eax
mov ebx, dword [esi + 0x38]
lea eax, [ebx + 8]
mov edx, 0x41e388
call fcn.004034a8
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.004034a8
lea eax, [ebx + 0x10]
xor edx, edx
call fcn.004034a8
mov dl, 1
mov eax, dword [0x4121cc]
call fcn.00412224
mov dword [esi + 0x3c], eax
mov ebx, dword [esi + 0x3c]
mov edx, 0x3e8
mov eax, ebx
call fcn.004122cc
xor edx, edx
mov eax, ebx
call fcn.004122d8
mov edx, 1
mov eax, ebx
call fcn.004122e4
mov byte [ebx + 0x14], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x412390]
call fcn.0040dd58
mov dword [esi + 0x40], eax
mov ebx, dword [esi + 0x40]
lea eax, [ebx + 0x24]
mov edx, 0x41e390
call fcn.004034a8
mov dword [ebx + 0x28], 0xf
mov dword [ebx + 0x2c], 0xa
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], 2
mov dword [ebx + 0x3c], 2
mov dword [ebx + 0x44], ebx
mov dword [ebx + 0x40], 0x4123f8
mov dl, 1
mov eax, dword [0x40100c]
call fcn.00402940
mov dword [esi + 0x44], eax
mov dl, 1
mov eax, dword [0x410fc4]
call fcn.00411038
mov dword [esi + 0x48], eax
mov ebx, dword [esi + 0x48]
lea eax, [ebx + 0x14]
xor edx, edx
call fcn.004034a8
mov byte [ebx + 0x18], 0
lea eax, [ebp - 0x18]
mov edx, 0x41e398
call fcn.004034a8
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004110bc
mov dl, 1
mov eax, dword [0x4126a0]
call fcn.00402940
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
mov byte [eax + 0x70], 0
mov byte [eax + 0x71], 0
mov dl, 1
mov eax, dword [0x411d54]
call fcn.00402940
mov dword [esi + 0x50], eax
mov ebx, dword [esi + 0x50]
lea eax, [ebx + 0xc]
mov edx, 0x41e37c
call fcn.004034a8
xor eax, eax
mov dword [ebx + 0x10], eax
mov dx, 2
mov eax, ebx
call fcn.00411df8
mov byte [ebx + 8], 0
mov eax, dword [esi + 0x3c]
push eax
push 0x4122b8
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x22c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x230], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x234], edx
mov eax, dword [esi + 0x40]
push eax
push 0x40de68
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [esi + 8]
push eax
push 0x4100e0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x38]
push eax
push 0x412188
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x30]
push eax
push 0x411f08
lea edx, [ebp - 0x40]
mov ax, 2
call fcn.0040c8a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0x14]
push eax
push 0x410b6c
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x70], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x74], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x78], edx
mov eax, dword [esi + 0x10]
push eax
push 0x410a58
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x64], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x6c], edx
mov eax, dword [esi + 0x18]
push eax
push 0x410cec
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0x20]
push eax
push 0x41112c
lea edx, [ebp - 0x40]
mov ax, 1
call fcn.0040c8a0
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x1c]
push eax
push 0x410dd0
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x20]
push eax
push 0x4110c8
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x48], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x4c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x50], edx
mov eax, dword [esi + 0x24]
push eax
push 0x4113c4
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x38], edx
mov eax, dword [esi + 0x30]
push eax
push 0x411e1c
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x28], edx
mov eax, dword [esi + 0x20]
push eax
push 0x4112dc
lea edx, [ebp - 0x40]
mov ax, 2
call fcn.0040c8a0
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0xc]
push eax
push 0x4107bc
lea edx, [ebp - 0x40]
mov ax, 4
call fcn.0040c8a0
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x5c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x60], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x64], edx
mov eax, dword [esi + 0xc]
push eax
push 0x4108a0
lea edx, [ebp - 0x40]
mov ax, 1
call fcn.0040c8a0
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x50], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x54], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x58], edx
mov eax, dword [esi + 0xc]
push eax
push 0x410418
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x28]
push eax
push 0x411874
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x38]
push eax
push 0x4120ec
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x34], edx
mov eax, dword [esi + 8]
push eax
push 0x40ff94
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0x34]
push eax
push 0x411fb8
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x3c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x40], edx
mov eax, dword [esi + 0x30]
push eax
push 0x411f08
lea edx, [ebp - 0x40]
mov ax, 8
call fcn.0040c8a0
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0x30]
push eax
push 0x411f08
lea edx, [ebp - 0x40]
mov ax, 9
call fcn.0040c8a0
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x28], edx
mov eax, dword [esi + 0x2c]
push eax
push 0x410cec
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x3c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0x50]
push eax
push 0x411e1c
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c8a0
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x4c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x50], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x54], edx
mov eax, dword [esi + 0x48]
push eax
push 0x4112dc
lea edx, [ebp - 0x40]
mov ax, 2
call fcn.0040c8a0
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x44], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x48], edx
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040e8f0
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040e8c8
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040ef78
mov eax, dword [esi + 4]
xor edx, edx
mov dword [eax + 0x1bc], edx
mov edx, 0x41e5e4
mov eax, dword [esi + 8]
call fcn.00410100
xor edx, edx
mov eax, dword [esi + 0x40]
call fcn.0040e2a8
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x7c]
call fcn.00409e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2e9
lea eax, [ebp - 0x34]
mov edx, dword [0x40c6b8]
call fcn.004039e4
lea eax, [ebp - 0x18]
call fcn.00403384
lea eax, [ebp - 0x14]
mov edx, dword [0x40c6d4]
call fcn.004039e4
ret