Function at 0x41f768
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x41f771
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040461c
mov eax, dword [ebp - 8]
call fcn.0040461c
mov eax, dword [ebp - 0xc]
call fcn.0040461c
mov eax, dword [ebp + 0xc]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41fd31
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x414ea4]
call fcn.00415688
mov esi, eax
mov byte [ebp - 0x29], 1
mov eax, esi
call fcn.004158d8
test al, al
je 0x41f7ec
push 5
mov eax, dword [0x427dac]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
call fcn.00415e74
push eax
mov eax, esi
call fcn.00415dfc
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x41fd4c
mov edx, 0x41fd68
mov eax, esi
call fcn.00415cf8
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.00415ef4
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x427ecc]
mov eax, dword [eax]
pop edx
call fcn.0041a798
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00404220
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041f114
test al, al
jne 0x41f85a
call fcn.0041aac4
test al, al
je 0x41f85a
lea eax, [ebp - 4]
call fcn.0041aa08
mov eax, dword [0x427db8]
mov edx, 0x41fd74
call fcn.00404848
mov edx, ebx
call fcn.00403000
mov edx, 0x41fd94
call fcn.00404848
call fcn.004030b0
test bl, bl
je 0x41f893
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041f1b8
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x29], 0
je 0x41fcdf
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x41fda8
mov edx, 0x41fdf0
mov eax, esi
call fcn.00415cf8
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x41fdfc
mov edx, 0x41fdfc
mov eax, esi
call fcn.00415cf8
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x41fe10
mov edx, 0x41fe48
mov eax, esi
call fcn.00415cf8
mov eax, esi
call fcn.00415dfc
mov edi, eax
test bl, bl
je 0x41f8f8
push 5
mov eax, dword [0x427d8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov edx, 1
mov eax, 0x3e8
call fcn.0040bf50
lea eax, [ebp - 0x2a]
push eax
push fcn.00414610
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
push edi
call fcn.0041f04c
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00419e00
xor edx, edx
mov eax, 0x3e8
call fcn.0040bf50
cmp dword [ebp - 0x18], 0
je 0x41fc6d
call fcn.00414f5c
test al, al
jne 0x41fc6d
cmp byte [ebp - 0x2a], 0
je 0x41fc6d
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404220
mov edx, dword [ebp - 0x18]
mov eax, 0x41fe58
call fcn.00404770
mov edi, eax
test edi, edi
jle 0x41f9f1
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040468c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x1c]
call fcn.00406bac
push dword [ebp + 0xc]
push 0x41fe64
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040442c
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 0x18]
call fcn.0040468c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00406bac
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00406bac
mov edx, dword [ebp - 0x50]
lea eax, [ebp + 0xc]
call fcn.00404220
lea ecx, [ebp - 0x60]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0040cd44
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.00404478
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404220
cmp dword [ebp + 0xc], 0
je 0x41fa35
push dword [ebp - 0x14]
push 0x41fe64
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004044ec
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x64]
call fcn.00406d34
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
mov edx, 0x41fe70
call fcn.00404478
push dword [ebp - 0x14]
push 0x41fe7c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004044ec
mov edx, dword [ebp - 0x14]
mov eax, 0x41fe90
call fcn.00404770
test eax, eax
jne 0x41faa4
push dword [ebp - 0x14]
push 0x41fea4
lea eax, [ebp - 0x68]
call fcn.0040cde8
push dword [ebp - 0x68]
push 0x41febc
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004044ec
mov eax, dword [0x427e60]
cmp byte [eax], 0
je 0x41fabb
lea eax, [ebp - 0x14]
mov edx, 0x41fec8
call fcn.00404434
lea eax, [ebp - 0x24]
call fcn.0041b2bc
lea eax, [ebp - 0x28]
call fcn.0041b338
lea ecx, [ebp - 0x6c]
mov edx, 0x41fee4
mov eax, dword [ebp - 0x14]
call fcn.0041f6d4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
call fcn.00404220
lea ecx, [ebp - 0x70]
mov edx, 0x41fef8
mov eax, dword [ebp - 0x14]
call fcn.0041f6d4
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
call fcn.00404220
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x41ff14
call fcn.00404848
mov edx, dword [ebp - 0x14]
call fcn.00404848
mov edx, 0x41ff38
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41ff44
call fcn.00404478
mov eax, dword [ebp - 0x74]
call fcn.0040462c
mov edi, eax
push edi
call sub.kernel32.dll_GlobalAddAtomA
test bl, bl
je 0x41fb7c
mov eax, dword [ebp - 0x14]
call fcn.0040462c
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.00404364
mov eax, dword [ebp - 0x78]
mov edx, 5
call fcn.0041f608
mov ebx, eax
jmp 0x41fb9a
mov eax, dword [ebp - 0x14]
call fcn.0040462c
mov edx, eax
lea eax, [ebp - 0x7c]
call fcn.00404364
mov eax, dword [ebp - 0x7c]
xor edx, edx
call fcn.0041f608
mov ebx, eax
push 0
mov eax, dword [0x427d8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, 0x3e8
call fcn.0040bf50
mov eax, ebx
call fcn.0041f6a4
lea eax, [ebp - 0x40]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x427d3c]
mov edx, dword [ebp - 0x40]
mov dword [eax], edx
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x41ff68
call fcn.00404478
mov eax, dword [ebp - 0x80]
call fcn.0040462c
xor edx, edx
call fcn.0041eb68
xor edx, edx
mov eax, 0x3e8
call fcn.0040bf50
mov edx, 0x41ff44
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x3c]
call fcn.00404478
push edi
call sub.kernel32.dll_GlobalFindAtomA
test ax, ax
sete byte [ebp - 0xd]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
cmp byte [ebp - 0xd], 0
je 0x41fc6d
call fcn.0041c7f0
test al, al
je 0x41fc4a
cmp dword [ebp - 0x24], 0
je 0x41fc4a
mov eax, dword [ebp - 0x24]
call fcn.00406f04
test al, al
je 0x41fc4a
mov eax, dword [ebp - 0x24]
call fcn.0040716c
call fcn.0041c8b0
test al, al
je 0x41fc6d
cmp dword [ebp - 0x28], 0
je 0x41fc6d
mov eax, dword [ebp - 0x28]
call fcn.00406f04
test al, al
je 0x41fc6d
mov eax, dword [ebp - 0x28]
call fcn.0040716c
cmp byte [ebp - 0x2a], 0
jne 0x41fcdf
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x41fe10
mov edx, 0x41fe48
mov eax, esi
call fcn.00415cf8
mov eax, dword [ebp - 0x88]
push eax
mov eax, esi
call fcn.00415dfc
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x41ff88
mov edx, 0x41ff88
mov eax, esi
call fcn.00415cf8
mov eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x41ff98
mov edx, 0x41ffe8
mov eax, esi
call fcn.00415cf8
mov edx, dword [ebp - 0x90]
xor eax, eax
pop ecx
call fcn.0040c330
call fcn.0041ad10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fd38
lea eax, [ebp - 0x90]
mov edx, 0x14
call fcn.004041ac
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.004041ac
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.004041ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004041ac
lea eax, [ebp + 0xc]
call fcn.00404188
ret