Function at 0x41e50c
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41e515
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x41e52e
add esp, 0xfffffff0
call fcn.00402b34
mov edi, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x41f10a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
xor edx, edx
mov eax, esi
call fcn.00416994
mov eax, dword [ebp + 8]
mov dword [esi + 0x40], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x410168]
call fcn.00410250
mov dword [esi + 0x14], eax
mov ebx, dword [esi + 0x14]
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 0x23
mov dword [ebx + 0x88], 0x69
mov dword [ebx + 0x8c], 0x1cf
mov dword [ebx + 0x90], 0x1ae
mov byte [ebx + 0x94], 0
xor eax, eax
mov dword [ebx + 0x9c], eax
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 0
mov byte [ebx + 0xbb], 1
xor eax, eax
mov dword [ebx + 0xbc], eax
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.00403414
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403414
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, 0x41f14c
call fcn.00403414
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004106dc
mov dl, 2
mov eax, ebx
call fcn.00410710
mov byte [ebx + 0x1c6], 0
push 0x41f160
mov eax, dword [0x4276b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, ebx
call fcn.004107b0
xor edx, edx
mov eax, ebx
call fcn.00410784
mov byte [ebx + 0x1c4], 0
mov byte [ebx + 0xc2], 1
mov dword [ebx + 0x1e0], 0xffffff
lea eax, [ebx + 0x1d0]
xor edx, edx
call fcn.00403414
mov byte [ebx + 0xc0], 0
mov byte [ebx + 0x1d5], 0
mov dword [ebx + 0x1dc], ebx
mov dword [ebx + 0x1d8], 0x410e20
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 + 0x38]
mov dl, 1
mov eax, dword [0x41120c]
call fcn.00402928
mov ebx, eax
mov dword [esi + 0xc], ebx
push 1
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x4111e4]
call fcn.00404764
add esp, 4
push 1
lea eax, [ebx + 0x10]
mov ecx, 1
mov edx, dword [0x4111f8]
call fcn.00404764
add esp, 4
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x41c0ac]
call fcn.0041c144
mov ebx, eax
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], 0x3f
mov dword [ebx + 0x8c], 0x1bf
mov dword [ebx + 0x90], 0xe8
mov byte [ebx + 0x94], 5
mov dword [ebx + 0x9c], 0xff000001
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
xor eax, eax
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov byte [ebx + 0xa0], 0
mov byte [ebx + 0xd8], 4
lea eax, [ebx + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x4276ac]
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
mov byte [ebx + 0x1b4], 0
mov dword [ebx + 0x1b0], ebx
mov dword [ebx + 0x1ac], 0x41c27c
push 0x41f168
mov eax, dword [0x4276b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadBitmapA
mov edx, eax
mov eax, ebx
call fcn.0041c4a0
mov dl, 1
mov eax, ebx
call fcn.0041c20c
mov byte [ebx + 0xc0], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov dl, 1
mov eax, dword [0x41c4e8]
call fcn.00402928
mov ebx, eax
mov dword [esi + 0x18], ebx
lea eax, [ebx + 0xc]
mov edx, 0x41f170
call fcn.00403414
lea eax, [ebx + 0x10]
mov edx, 0x41f1c4
call fcn.00403414
lea eax, [ebx + 8]
mov edx, 0x41f1e4
call fcn.00403414
lea eax, [ebx + 0x14]
mov edx, 0x41f1e8
call fcn.00403414
mov byte [ebx + 0x18], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x414d68]
call fcn.0040f6d4
mov ebx, eax
mov dword [esi + 0x1c], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], 0x26
mov dword [ebx + 0x8c], 0x1bf
mov dword [ebx + 0x90], 0x19
mov byte [ebx + 0x94], 2
push 0
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
mov dword [ebx + 0xbc], 0x7f89
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.00403414
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
lea eax, [ebx + 0x1cc]
mov edx, 0x41f1f0
call fcn.00403414
mov byte [ebx + 0xc1], 0
mov byte [ebx + 0x1d0], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x416e64]
call fcn.00416f0c
mov ebx, eax
mov dword [esi + 0x20], 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], 0x1bf
mov dword [ebx + 0x90], 0x11
mov byte [ebx + 0x94], 2
mov dword [ebx + 0x9c], 0xff000001
push 0xffffff
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
xor eax, eax
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov byte [ebx + 0xa0], 0
mov byte [ebx + 0xd8], 2
lea eax, [ebx + 0x80]
xor edx, edx
call fcn.00403414
lea eax, [ebx + 0xa4]
mov edx, 0x41f1f8
call fcn.00403414
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x4276ac]
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
mov byte [ebx + 0xb9], 0
lea eax, [ebx + 0x1b8]
mov edx, 0x41f200
call fcn.00403414
mov dl, 1
mov eax, ebx
call fcn.00417088
xor edx, edx
mov eax, ebx
call fcn.0041707c
xor eax, eax
mov dword [ebx + 0x1b0], eax
mov byte [ebx + 0x1b4], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x414d68]
call fcn.0040f6d4
mov dword [esi + 0x24], eax
mov ebx, dword [esi + 0x24]
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], 0x11
mov dword [ebx + 0x8c], 0x1bf
mov dword [ebx + 0x90], 0x15
mov byte [ebx + 0x94], 2
push 0xffff
push 1
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
mov dword [ebx + 0xbc], 0x7f89
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.00403414
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.00403414
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
lea eax, [ebx + 0x1cc]
mov edx, 0x41f22c
call fcn.00403414
mov byte [ebx + 0xc1], 1
mov byte [ebx + 0x1d0], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov dl, 1
mov eax, dword [0x41cf4c]
call fcn.0041cfbc
mov dword [esi + 0x28], eax
mov ebx, dword [esi + 0x28]
lea eax, [ebx + 0x18]
xor edx, edx
call fcn.00403414
xor edx, edx
mov eax, ebx
call fcn.0041d068
mov dl, 1
mov eax, dword [0x41d1b4]
call fcn.0041d34c
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 0x10], 0x1008
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x41d41c]
call fcn.0040f6d4
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], 0x169
mov dword [ebx + 0x8c], 0x1bf
mov dword [ebx + 0x90], 0x1e
mov byte [ebx + 0x94], 4
mov dword [ebx + 0x9c], 0xff00000f
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
mov dword [ebx + 0xbc], 0x7f89
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.00403414
lea eax, [ebx + 0xa4]
mov edx, 0x41f244
call fcn.00403414
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0x1a6], 1
mov dword [ebx + 0x1ac], 0xea60
xor eax, eax
mov dword [ebx + 0x1b0], eax
mov dword [ebx + 0x1a8], 1
xor eax, eax
mov dword [ebx + 0x1b4], eax
mov byte [ebx + 0x1a4], 0
mov byte [ebx + 0x1a5], 0
mov dword [ebx + 0x1b8], 0x10
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x41104c]
call fcn.004110c4
mov dword [esi + 0x34], eax
mov ebx, dword [esi + 0x34]
mov byte [ebx + 0x10], 0
mov eax, ebx
call fcn.00411138
mov dword [ebx + 0x1c], esi
push 0
lea eax, [ebx + 0x14]
mov ecx, 1
mov edx, dword [0x411024]
call fcn.00404764
add esp, 4
push 0
lea eax, [ebx + 0x18]
mov ecx, 1
mov edx, dword [0x411038]
call fcn.00404764
add esp, 4
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x41d41c]
call fcn.0040f6d4
mov dword [esi + 0x38], eax
mov ebx, dword [esi + 0x38]
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], 0x150
mov dword [ebx + 0x8c], 0x1bf
mov dword [ebx + 0x90], 0x19
mov byte [ebx + 0x94], 4
mov dword [ebx + 0x9c], 0xff00000f
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x41f13c
call fcn.0040ef48
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40e3d0]
call fcn.00403d44
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
mov dword [ebx + 0xbc], 0x7f89
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.00403414
lea eax, [ebx + 0xa4]
mov edx, 0x41f258
call fcn.00403414
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0x1a6], 1
mov dword [ebx + 0x1ac], 0xea60
xor eax, eax
mov dword [ebx + 0x1b0], eax
mov dword [ebx + 0x1a8], 1
xor eax, eax
mov dword [ebx + 0x1b4], eax
mov byte [ebx + 0x1a4], 0
mov byte [ebx + 0x1a5], 1
mov dword [ebx + 0x1b8], 0x10
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov dl, 1
mov eax, dword [0x41d6b8]
call fcn.00402928
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov byte [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 8], esi
mov eax, dword [esi + 0xc]
mov dword [eax + 4], edi
mov eax, dword [esi + 0x14]
push eax
push 0x410eec
lea edx, [ebp - 0x24]
mov ax, 4
call fcn.0040e5dc
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x28]
push eax
push 0x41d0a4
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040e5dc
mov eax, dword [esi + 0x18]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0x18]
push eax
push 0x41c59c
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040e5dc
mov eax, dword [esi + 0x1c]
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 + 0x28]
push eax
push 0x41d14c
lea edx, [ebp - 0x24]
mov ax, 2
call fcn.0040e5dc
mov eax, dword [esi + 0x24]
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 + 0x2c]
push eax
push 0x41d3c8
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040e5dc
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1bc], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1c0], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c4], edx
mov eax, dword [esi + 0x3c]
push eax
push 0x41d710
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.0040e5dc
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x1bc], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1c0], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c4], edx
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.00410214
mov eax, dword [esi + 0x14]
xor edx, edx
mov dword [eax + 0x1b8], edx
xor edx, edx
mov eax, dword [esi + 0x1c]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x1c]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [esi + 0x20]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x20]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [esi + 0x24]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x24]
call fcn.0040fb7c
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0040fb7c
mov edx, 0x41dfb0
mov eax, dword [esi + 0x34]
call fcn.00411168
xor edx, edx
mov eax, dword [esi + 0x38]
call fcn.0040fba4
xor edx, edx
mov eax, dword [esi + 0x38]
call fcn.0040fb7c
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x7c]
call fcn.0040b9f8
mov eax, dword [esi + 0x14]
mov dword [esi + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f111
lea eax, [ebp - 0x18]
call fcn.00403260
lea eax, [ebp - 0x14]
mov edx, dword [0x40e3d0]
call fcn.00403b34
ret