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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x414b8d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x414ba7
add esp, 0xfffffff0
call fcn.0040297c
mov edi, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4156e3
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.00413f70
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x40e2a4]
call fcn.0040e3b4
mov dword [esi + 0x10], eax
mov ebx, dword [esi + 0x10]
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 5
mov dword [ebx + 0x88], 0x37
mov dword [ebx + 0x8c], 0x102
mov dword [ebx + 0x90], 0x83
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0x4080
push 0
push 1
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, 8
mov eax, 0x415714
call fcn.0040ce90
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c3d0]
call fcn.004038bc
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 0
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], 3
lea eax, [ebx + 0x80]
xor edx, edx
call fcn.004031cc
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.004031cc
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, 0x415724
call fcn.004031cc
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0040e8a8
xor edx, edx
mov eax, ebx
call fcn.0040e8dc
mov byte [ebx + 0x1ca], 0
push 0x41572c
mov eax, dword [0x47941c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, ebx
call fcn.0040e980
xor edx, edx
mov eax, ebx
call fcn.0040e954
mov byte [ebx + 0x1c8], 0
mov dword [ebx + 0x1dc], 0xffffff
lea eax, [ebx + 0x1cc]
xor edx, edx
call fcn.004031cc
mov byte [ebx + 0xc0], 0
mov byte [ebx + 0x1d1], 0
mov dword [ebx + 0x1d8], ebx
mov dword [ebx + 0x1d4], 0x40f050
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 dl, 1
mov eax, dword [0x411790]
call fcn.0040287c
mov ebx, eax
mov dword [esi + 0xc], ebx
push 1
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x411768]
call fcn.00403dc4
add esp, 4
push 0
lea eax, [ebx + 0x10]
mov ecx, 1
mov edx, dword [0x41177c]
call fcn.00403dc4
add esp, 4
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x4112e0]
call fcn.0041138c
mov ebx, eax
mov dword [esi + 0x14], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 7
mov dword [ebx + 0x88], 0xffffffff
mov dword [ebx + 0x8c], 0xb4
mov dword [ebx + 0x90], 0xf
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0x4080
push 0xffffff
push 0xcc
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 0xa
mov eax, 0x41573c
call fcn.0040ce90
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c3d0]
call fcn.004038bc
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.004031cc
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.004031cc
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x479418]
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, 0x41574c
call fcn.004031cc
mov dl, 1
mov eax, ebx
call fcn.00411564
xor edx, edx
mov eax, ebx
call fcn.00411558
xor eax, eax
mov dword [ebx + 0x1b0], eax
mov byte [ebx + 0x1b4], 0
mov byte [ebx + 0x1bc], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x4112e0]
call fcn.0041138c
mov ebx, eax
mov dword [esi + 0x18], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 7
mov dword [ebx + 0x88], 0xf
mov dword [ebx + 0x8c], 0x73
mov dword [ebx + 0x90], 0xf
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0x4080
push 0xffffff
push 0xcc
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 0xa
mov eax, 0x41573c
call fcn.0040ce90
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c3d0]
call fcn.004038bc
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.004031cc
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.004031cc
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x479418]
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, 0x415778
call fcn.004031cc
mov dl, 1
mov eax, ebx
call fcn.00411564
xor edx, edx
mov eax, ebx
call fcn.00411558
xor eax, eax
mov dword [ebx + 0x1b0], eax
mov byte [ebx + 0x1b4], 0
mov byte [ebx + 0x1bc], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x40f228]
call fcn.0040f2dc
mov ebx, eax
mov dword [esi + 0x1c], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 0xdd
mov dword [ebx + 0x88], 0x61
mov dword [ebx + 0x8c], 0x19
mov dword [ebx + 0x90], 0x18
mov byte [ebx + 0x94], 0
mov dword [ebx + 0x9c], 0xff
push 0xffffff
push 0xcc
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 0xa
mov eax, 0x4157ac
call fcn.0040ce90
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c3d0]
call fcn.004038bc
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xbb], 1
mov dword [ebx + 0xbc], 0x7f89
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.004031cc
lea eax, [ebx + 0xa4]
mov edx, 0x4157b4
call fcn.004031cc
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0x1d8], 0
mov dword [ebx + 0x1dc], 0x808080
lea eax, [ebx + 0x1b8]
mov edx, 0x4157c0
call fcn.004031cc
mov byte [ebx + 0xc1], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x413674]
call fcn.0040d5c4
mov ebx, eax
mov dword [esi + 0x20], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 7
mov dword [ebx + 0x88], 0x20
mov dword [ebx + 0x8c], 0xd1
mov dword [ebx + 0x90], 0x5a
mov byte [ebx + 0x94], 0
xor eax, eax
mov dword [ebx + 0x9c], eax
push 0xffff
push 0xcc
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov dl, 9
mov eax, 0x4157ac
call fcn.0040ce90
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c3d0]
call fcn.004038bc
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.004031cc
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.004031cc
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x479418]
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 + 0x1ac]
xor edx, edx
call fcn.004031cc
lea eax, [ebx + 0x200]
mov edx, 0x4157c4
call fcn.004031cc
mov byte [ebx + 0x1b0], 0
mov byte [ebx + 0x1fc], 0
mov byte [ebx + 0x1fd], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dl, 1
mov eax, dword [0x40fa24]
call fcn.0040287c
mov ebx, eax
mov dword [esi + 0x24], ebx
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.0040ccdc
lea edx, [ebp - 0x34]
lea eax, [ebx + 0x24]
mov ecx, dword [0x40c3b4]
call fcn.004038bc
mov dl, 1
mov eax, ebx
call fcn.0040fa9c
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
mov dl, 1
mov eax, dword [0x41045c]
call fcn.00410510
mov ebx, eax
mov dword [esi + 0x28], ebx
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 0x3e8
mov dword [ebx + 0x88], 0x3e8
mov dword [ebx + 0x8c], 0x32
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, 0x415714
call fcn.0040ce90
lea edx, [ebp - 0x14]
lea eax, [ebx + 0xa8]
mov ecx, dword [0x40c3d0]
call fcn.004038bc
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xba], 0
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]
mov edx, 0x415890
call fcn.004031cc
lea eax, [ebx + 0xa4]
xor edx, edx
call fcn.004031cc
xor eax, eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov eax, dword [0x479418]
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]
xor edx, edx
call fcn.004031cc
mov byte [ebx + 0x1c5], 0
mov dword [ebx + 0x1b8], ebx
mov dword [ebx + 0x1b4], 0x410834
mov byte [ebx + 0x1cc], 0
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 [0x40fd4c]
call fcn.0040287c
mov ebx, eax
mov dword [esi + 0x2c], ebx
mov eax, ebx
mov byte [eax + 5], 1
mov dx, 2
call fcn.0040fdb4
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 + 0x10]
push eax
push 0x40f148
lea edx, [ebp - 0x40]
mov ax, 4
call fcn.0040c4d4
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
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 + 0x24]
push eax
push fcn.0040fad4
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c4d4
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x214], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x218], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x21c], edx
mov eax, dword [esi + 0x24]
push eax
push fcn.0040fad4
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c4d4
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x220], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x224], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x228], edx
mov eax, dword [esi + 0x2c]
push eax
push 0x40fddc
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c4d4
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x1ac], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x1b4], edx
mov eax, dword [esi + 0x28]
push eax
push 0x40dd10
lea edx, [ebp - 0x40]
mov ax, 2
call fcn.0040c4d4
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x80], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x84], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x88], edx
mov eax, dword [esi + 0x28]
push eax
push 0x40dd10
lea edx, [ebp - 0x40]
mov ax, 2
call fcn.0040c4d4
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x74], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x78], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x7c], edx
mov eax, dword [esi + 0x10]
push eax
push 0x40f094
lea edx, [ebp - 0x40]
mov ax, 3
call fcn.0040c4d4
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 + 0xc]
push eax
push 0x411804
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040c4d4
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
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040dca4
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040dc7c
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0040e354
mov eax, dword [esi + 0x10]
xor edx, edx
mov dword [eax + 0x1bc], edx
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.0040dca4
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.0040dc7c
xor edx, edx
mov eax, dword [esi + 0x18]
call fcn.0040dca4
xor edx, edx
mov eax, dword [esi + 0x18]
call fcn.0040dc7c
xor edx, edx
mov eax, dword [esi + 0x1c]
call fcn.0040dca4
xor edx, edx
mov eax, dword [esi + 0x1c]
call fcn.0040dc7c
xor edx, edx
mov eax, dword [esi + 0x20]
call fcn.0040dca4
xor edx, edx
mov eax, dword [esi + 0x20]
call fcn.0040dc7c
xor edx, edx
mov eax, dword [esi + 0x28]
call fcn.0040dca4
xor edx, edx
mov eax, dword [esi + 0x28]
call fcn.0040dc7c
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x7c]
call fcn.00409ea0
mov eax, dword [esi + 0x10]
mov dword [esi + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4156ea
lea eax, [ebp - 0x34]
mov edx, dword [0x40c3b4]
call fcn.004036ac
lea eax, [ebp - 0x18]
call fcn.004030a8
lea eax, [ebp - 0x14]
mov edx, dword [0x40c3d0]
call fcn.004036ac
ret