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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x41df9c
push ebx
push esi
test dl, dl
je 0x41dfb1
add esp, 0xfffffff0
call fcn.00402a58
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x41ea12
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00402940
mov dword [0x424800], esi
xor ecx, ecx
mov dl, 1
mov eax, dword [0x40eef0]
call fcn.0040f000
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, 0x41ea40
call fcn.0040d4e4
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, 0x41ea4c
call fcn.004034a8
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0040f4f4
mov dl, 1
mov eax, ebx
call fcn.0040f528
mov byte [ebx + 0x1ca], 0
push 0x41ea70
mov eax, dword [0x423894]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, ebx
call fcn.0040f5cc
xor edx, edx
mov eax, ebx
call fcn.0040f5a0
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], 0x40fc98
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 [0x40fe84]
call fcn.0040fefc
mov ebx, eax
mov dword [esi + 8], ebx
mov byte [ebx + 0x14], 1
mov eax, ebx
call fcn.0040ffb8
mov dword [ebx + 0x24], esi
push 1
lea eax, [ebx + 0x1c]
mov ecx, 1
mov edx, dword [0x40fe5c]
call fcn.004040fc
add esp, 4
push 3
lea eax, [ebx + 0x20]
mov ecx, 1
mov edx, dword [0x40fe70]
call fcn.004040fc
add esp, 4
mov dl, 1
mov eax, dword [0x410304]
call fcn.00410384
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, 0x41ea78
call fcn.004034a8
lea eax, [ebx + 0x20]
mov edx, 0x41ea7c
call fcn.004034a8
mov byte [ebx + 0x24], 0
mov byte [ebx + 0x25], 0
mov byte [ebx + 0x26], 1
mov dl, 1
mov eax, dword [0x410914]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x10], ebx
lea eax, [ebp - 0x18]
mov edx, 0x41ea90
call fcn.004034a8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
call fcn.0040d23c
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.00410984
mov dl, 1
mov eax, dword [0x410ad4]
call fcn.00402940
mov dword [esi + 0x14], eax
mov dl, 1
mov eax, dword [0x410c84]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x18], ebx
mov eax, ebx
mov byte [eax + 5], 1
mov dx, 2
call fcn.00410cec
mov dl, 1
mov eax, dword [0x410d7c]
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, 0x41eaa8
call fcn.004034a8
lea eax, [ebx + 0x14]
mov edx, 0x41eaac
call fcn.004034a8
mov dl, 1
mov eax, dword [0x410fec]
call fcn.00411060
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.004110e4
mov dl, 1
mov eax, dword [0x411378]
call fcn.00402940
mov ebx, eax
mov dword [esi + 0x24], ebx
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov edx, 0x41eaac
call fcn.004034a8
mov dl, 1
mov eax, dword [0x411828]
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.0040d234
lea edx, [ebp - 0x34]
lea eax, [ebx + 0x24]
mov ecx, dword [0x40c6b8]
call fcn.00403bf4
mov dl, 1
mov eax, dword [0x410c84]
call fcn.00402940
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov byte [eax + 5], 1
mov dx, 3
call fcn.00410cec
mov dl, 1
mov eax, dword [0x411d7c]
call fcn.00402940
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x30]
lea eax, [ebx + 0xc]
mov edx, 0x41eaac
call fcn.004034a8
xor eax, eax
mov dword [ebx + 0x10], eax
mov dx, 0xa
mov eax, ebx
call fcn.00411e20
mov byte [ebx + 8], 0
mov dl, 1
mov eax, dword [0x411f78]
call fcn.00402940
mov dword [esi + 0x34], eax
mov ebx, dword [esi + 0x34]
lea eax, [ebp - 0x18]
mov edx, 0x41eab0
call fcn.004034a8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
call fcn.0040d23c
lea edx, [ebp - 0x34]
lea eax, [ebx + 4]
mov ecx, dword [0x40c6b8]
call fcn.00403bf4
mov dl, 1
mov eax, dword [0x41208c]
call fcn.00402940
mov dword [esi + 0x38], eax
mov ebx, dword [esi + 0x38]
lea eax, [ebx + 8]
mov edx, 0x41eab8
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 [0x4121f4]
call fcn.0041224c
mov dword [esi + 0x3c], eax
mov ebx, dword [esi + 0x3c]
mov edx, 0x3e8
mov eax, ebx
call fcn.004122f4
xor edx, edx
mov eax, ebx
call fcn.00412300
mov edx, 1
mov eax, ebx
call fcn.0041230c
mov byte [ebx + 0x14], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x4123b8]
call fcn.0040dd80
mov dword [esi + 0x40], eax
mov ebx, dword [esi + 0x40]
lea eax, [ebx + 0x24]
mov edx, 0x41eac0
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], 0x412420
mov dl, 1
mov eax, dword [0x40100c]
call fcn.00402940
mov dword [esi + 0x44], eax
mov dl, 1
mov eax, dword [0x410fec]
call fcn.00411060
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, 0x41eac8
call fcn.004034a8
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004110e4
mov dl, 1
mov eax, dword [0x4126c8]
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 [0x411d7c]
call fcn.00402940
mov dword [esi + 0x50], eax
mov ebx, dword [esi + 0x50]
lea eax, [ebx + 0xc]
mov edx, 0x41eaac
call fcn.004034a8
xor eax, eax
mov dword [ebx + 0x10], eax
mov dx, 2
mov eax, ebx
call fcn.00411e20
mov byte [ebx + 8], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x412860]
call fcn.004128d8
mov dword [esi + 0x54], eax
mov ebx, dword [esi + 0x54]
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x1c], esi
push 1
lea eax, [ebx + 0x14]
mov ecx, 1
mov edx, dword [0x412838]
call fcn.004040fc
add esp, 4
push 0
lea eax, [ebx + 0x18]
mov ecx, 1
mov edx, dword [0x41284c]
call fcn.004040fc
add esp, 4
mov eax, dword [esi + 0x3c]
push eax
push 0x4122e0
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 0x40de90
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 0x410108
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 0x4121b0
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 0x411f30
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 0x410b94
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 0x410a80
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 0x410d14
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 0x411154
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 0x410df8
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 0x4110f0
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 0x4113ec
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 0x411e44
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 0x411304
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 0x4107e4
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 0x4108c8
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 0x410440
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 0x41189c
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 0x412114
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 0x40ffbc
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 0x411fe0
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 0x411f30
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 0x411f30
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 0x410d14
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 0x411e44
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 0x411304
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.0040e918
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040e8f0
xor edx, edx
mov eax, dword [esi + 4]
call fcn.0040efa0
mov eax, dword [esi + 4]
xor edx, edx
mov dword [eax + 0x1bc], edx
mov edx, 0x41ed1c
mov eax, dword [esi + 8]
call fcn.00410128
xor edx, edx
mov eax, dword [esi + 0x40]
call fcn.0040e2d0
mov edx, 0x41dcc0
mov eax, dword [esi + 0x54]
call fcn.0041294c
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 0x41ea19
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