Function at 0x401d2c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a0017
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x4c3360]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea ebx, [edi + 4]
push ebx
call fcn.004044b6
mov eax, dword [0x4c6564]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [esp + 0x1c], eax
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x80
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x4c6564]
push 0
push 0x32
mov dword [esp + 0x1c], eax
call esi
push eax
push 0x31
call esi
push eax
push 1
mov esi, 0x80
push esi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00404718
test eax, eax
je 0x401dea
lea ecx, [edi + 0x20]
push ecx
mov esi, eax
call fcn.0040443a
push 0xc
pop eax
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x42
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x401e13
test byte [esp + 0x24], 1
je 0x401e13
mov byte [edi + 0x23c], 1
cmp byte [edi + 0x23c], 0
je 0x401e20
push 0
jmp 0x401e25
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea esi, [edi + 0x188]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
je 0x401e48
cmp eax, dword [esp + 0x14]
je 0x401e48
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
mov dword [esi], eax
push dword [0x4c6564]
lea ecx, [edi + 0x158]
push 0x4ac1ac
push 0xe1
call fcn.0040df99
test al, al
jne 0x401e81
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4c6540
lea ecx, [esp + 0x18]
call fcn.0040cc78
and dword [esp + 0x58], 0
push 0x8a
lea ecx, [esp + 0x18]
call fcn.00402b46
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 9
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [esp + 0x14]
mov esi, eax
push 0
neg esi
lea eax, [edi + 0x18c]
push esi
push eax
xor cl, cl
call fcn.0040308e
cmp dword [edi + 0x18c], 0
jne 0x401ef1
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401395
jmp 0x401e6d
push dword [esp + 0x14]
lea eax, [edi + 0x190]
push 0
push esi
push eax
mov cl, 1
call fcn.0040308e
cmp dword [edi + 0x190], 0
je 0x401ee0
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov esi, 0x8b
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0x5a
mov dword [esp + 0x3c], 0x20c
mov dword [esp + 0x40], 0x69
and dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], esp
lea eax, [edi + 0x194]
push ecx
mov dword [esp + 0x24], eax
call fcn.00402ffe
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push 0x40000000
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x41
mov dword [esp + 0x40], 0x1ea
mov dword [esp + 0x44], 0x5a
and dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x1c], esp
lea eax, [edi + 0x64]
push ecx
call fcn.004030b9
mov eax, dword [edi + 0x18c]
push 1
push eax
push 0x30
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [edi + 0x23c], 0
je 0x401fce
lea eax, [edi + 0x64]
mov dword [edi + 0x8c], 0xffffff
and dword [eax + 0x2c], 0
mov byte [eax + 0x34], 1
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push 0x40000000
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x1e
mov dword [esp + 0x40], 0x1ea
mov dword [esp + 0x44], 0x5a
and dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x1c], esp
lea eax, [edi + 0x2c]
push ecx
call fcn.004030b9
mov eax, dword [edi + 0x18c]
push 1
push eax
push 0x30
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [edi + 0x23c], 0
je 0x40203d
mov dword [edi + 0x54], 0xffffff
and dword [edi + 0x58], 0
mov byte [edi + 0x60], 1
mov eax, dword [edi + 0xf0]
push ecx
mov dword [esp + 0x30], esi
or eax, 0xc
lea esi, [edi + 0x9c]
mov dword [esi + 0x54], eax
mov eax, esp
mov dword [esp + 0x14], esp
push 0x40010000
push ecx
mov dword [esp + 0x3c], 0x5f
mov dword [esp + 0x40], 0x122
mov dword [esp + 0x44], 0x7c
mov dword [eax], 0xce5
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov dword [esp + 0x1c], esp
push dword [ebx]
mov eax, esi
call fcn.00402fb0
push dword [edi + 0x190]
call fcn.00402cf3
cmp byte [edi + 0x23c], 0
je 0x4020b1
mov dword [edi + 0xe8], 0xffffff
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push 0x40010000
push ecx
mov dword [eax], 0xce6
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebx]
mov dword [esp + 0x1c], esp
lea esi, [edi + 0xf8]
push eax
mov eax, esi
call fcn.00402fb0
push dword [edi + 0x190]
call fcn.00402cf3
cmp byte [edi + 0x23c], 0
je 0x4020fe
mov dword [edi + 0x144], 0xffffff
push 0x4c6540
lea ecx, [esp + 0x14]
call fcn.0040cc78
push 0x93
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.00402b46
push dword [esp + 0x10]
lea eax, [edi + 0xf8]
push eax
call fcn.00402c33
mov eax, dword [edi + 0x24]
xor esi, esi
cmp eax, esi
je 0x402146
call fcn.004117e3
cmp eax, 0xfffffffe
jne 0x4021e1
push dword [0x4c6564]
lea ecx, [edi + 0x170]
push 0x4ac1ac
push 0xda
call fcn.0040df99
test al, al
jne 0x402176
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401395
jmp 0x401ee0
push 0xe0
lea ecx, [esp + 0x14]
call fcn.00402b46
push dword [esp + 0x10]
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [edi + 0x23c], 0
jne 0x4021a1
mov dword [edi + 0x54], 0x77ff
push esi
push dword [edi + 0x68]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
push dword [edi + 0x30]
call esi
push 0x92
lea ecx, [esp + 0x14]
call fcn.00402b46
push dword [esp + 0x10]
lea eax, [edi + 0xf8]
push eax
call fcn.00402ba2
push 5
push dword [edi + 0xfc]
call esi
jmp 0x40236e
push dword [0x4c6564]
lea ecx, [edi + 0x170]
push 0x4ac1ac
cmp eax, 0xffffffff
jne 0x402272
push 0xda
call fcn.0040df99
test al, al
je 0x402165
push 0xe9
lea ecx, [esp + 0x14]
call fcn.00402b46
push dword [esp + 0x10]
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [edi + 0x23c], 0
jne 0x402234
mov dword [edi + 0x54], 0x77ff
push esi
push dword [edi + 0x68]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
push dword [edi + 0x30]
call esi
push 0xe8
lea ecx, [esp + 0x14]
call fcn.00402b46
push dword [esp + 0x10]
lea eax, [edi + 0x9c]
push eax
call fcn.00402ba2
push 5
push dword [edi + 0xa0]
jmp 0x4021da
push 0xdc
mov dword [esp + 0x38], 0xa0
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x40], 0x1f4
mov dword [esp + 0x44], 0x78
call fcn.0040df99
test al, al
jne 0x4022bf
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401395
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401395
mov eax, esi
jmp 0x401e6f
mov eax, dword [edi + 0x18c]
push 1
push eax
push 0x30
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [edi + 0x30]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov eax, dword [edi + 0x24]
call fcn.004141e7
call fcn.0041f25b
imul eax, eax, 0x96
xor ecx, ecx
push ecx
mov dword [esp + 0x4c], eax
mov eax, esp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], esp
push ecx
mov dword [esp + 0x4c], 0x23a
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [ebx]
mov eax, dword [edi + 0x154]
mov dword [esp + 0x24], esp
push ecx
call fcn.00403046
mov eax, dword [edi + 0x154]
push 0
push dword [eax + 4]
call esi
push 0xde
lea ecx, [esp + 0x14]
call fcn.00402b46
push dword [esp + 0x10]
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0x68]
call esi
push 5
push dword [edi + 0x198]
call esi
mov ecx, dword [esp + 0x18]
call fcn.0040e96d
push 6
push 0xf3
push 0x23e
xor eax, eax
push eax
push eax
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
inc esi
jmp 0x4022a0