Function at 0x422ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x422af1
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.0040486c
mov eax, dword [ebp - 8]
call fcn.0040486c
mov eax, dword [ebp - 0xc]
call fcn.0040486c
mov eax, dword [ebp + 0xc]
call fcn.0040486c
xor eax, eax
push ebp
push 0x4230ac
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 [0x419bd0]
call fcn.0041a3b4
mov esi, eax
mov byte [ebp - 0x25], 1
mov eax, esi
call fcn.0041a604
test al, al
je 0x422b6b
push 5
mov eax, dword [0x42adb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
call fcn.0041abe8
push eax
mov eax, esi
call fcn.0041ab70
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4230c8
mov edx, 0x4230e4
mov eax, esi
call fcn.0041aa64
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.0041ac68
mov ecx, dword [ebp - 0x44]
mov eax, dword [0x42aed8]
mov eax, dword [eax]
pop edx
call fcn.0041fb2c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00422488
test al, al
jne 0x422bce
call fcn.0041fe5c
test al, al
je 0x422bce
lea eax, [ebp - 4]
call fcn.0041fda0
mov eax, dword [0x42adc4]
mov edx, 0x4230f0
call fcn.00404a98
mov edx, ebx
call fcn.004030b4
mov edx, 0x423110
call fcn.00404a98
call fcn.00403164
test bl, bl
je 0x422c07
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042252c
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x42305a
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x423124
mov edx, 0x42316c
mov eax, esi
call fcn.0041aa64
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x423178
mov edx, 0x423178
mov eax, esi
call fcn.0041aa64
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x42318c
mov edx, 0x4231c4
mov eax, esi
call fcn.0041aa64
mov eax, esi
call fcn.0041ab70
mov edi, eax
test bl, bl
je 0x422c6c
push 5
mov eax, dword [0x42ad94]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x3e8
mov eax, 1
call fcn.0040ce2c
lea eax, [ebp - 0x26]
push eax
push fcn.00416590
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
push edi
call fcn.004223b8
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.0041f188
push 0
push 0x3e8
xor eax, eax
call fcn.0040ce2c
cmp dword [ebp - 0x18], 0
je 0x422fe8
call fcn.00419c88
test al, al
jne 0x422fe8
cmp byte [ebp - 0x26], 0
je 0x422fe8
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404470
mov edx, dword [ebp - 0x18]
mov eax, 0x4231d4
call fcn.004049c0
mov edi, eax
test edi, edi
jle 0x422d69
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004048dc
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x1c]
call fcn.004072a4
push dword [ebp + 0xc]
push 0x4231e0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040467c
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 0x18]
call fcn.004048dc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004072a4
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040473c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.004072a4
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 0xc]
call fcn.00404470
lea ecx, [ebp - 0x5c]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0040df4c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.004046c8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404470
cmp dword [ebp + 0xc], 0
je 0x422dad
push dword [ebp - 0x14]
push 0x4231e0
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040473c
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.0040742c
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x38]
mov edx, 0x4231ec
call fcn.004046c8
push dword [ebp - 0x14]
push 0x4231f8
push dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040473c
mov edx, dword [ebp - 0x14]
mov eax, 0x42320c
call fcn.004049c0
test eax, eax
jne 0x422e1e
push dword [ebp - 0x14]
push 0x423220
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.0040dff0
push dword [ebp - 0x64]
push 0x423238
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0040473c
mov eax, dword [0x42ae6c]
cmp byte [eax], 0
je 0x422e35
lea eax, [ebp - 0x14]
mov edx, 0x423244
call fcn.00404684
lea eax, [ebp - 0x20]
call fcn.0042065c
lea eax, [ebp - 0x24]
call fcn.004206d8
lea ecx, [ebp - 0x68]
mov edx, 0x423260
mov eax, dword [ebp - 0x14]
call fcn.00422a54
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x14]
call fcn.00404470
lea ecx, [ebp - 0x6c]
mov edx, 0x423274
mov eax, dword [ebp - 0x14]
call fcn.00422a54
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
call fcn.00404470
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x42adc4]
call fcn.00405220
mov edx, 0x423290
call fcn.00404a98
mov edx, dword [ebp - 0x14]
call fcn.00404a98
mov edx, 0x4232b8
call fcn.00404a98
call fcn.00403164
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x38]
mov edx, 0x4232c4
call fcn.004046c8
mov eax, dword [ebp - 0x70]
call fcn.0040487c
mov edi, eax
push edi
call sub.kernel32.dll_GlobalAddAtomA
test bl, bl
je 0x422ef6
mov eax, dword [ebp - 0x14]
call fcn.0040487c
mov edx, eax
lea eax, [ebp - 0x74]
call fcn.004045b4
mov eax, dword [ebp - 0x74]
mov edx, 5
call fcn.00422988
mov ebx, eax
jmp 0x422f14
mov eax, dword [ebp - 0x14]
call fcn.0040487c
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.004045b4
mov eax, dword [ebp - 0x78]
xor edx, edx
call fcn.00422988
mov ebx, eax
push 0
mov eax, dword [0x42ad94]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x3e8
xor eax, eax
call fcn.0040ce2c
mov eax, ebx
call fcn.00422a24
lea eax, [ebp - 0x3c]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x42ad44]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
mov edx, 0x4232e8
call fcn.004046c8
mov eax, dword [ebp - 0x7c]
call fcn.0040487c
xor edx, edx
call fcn.00412058
push 0
push 0x3e8
xor eax, eax
call fcn.0040ce2c
mov edx, 0x4232c4
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x38]
call fcn.004046c8
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 0x422fe8
call fcn.00421e04
test al, al
je 0x422fc5
cmp dword [ebp - 0x20], 0
je 0x422fc5
mov eax, dword [ebp - 0x20]
call fcn.00407624
test al, al
je 0x422fc5
mov eax, dword [ebp - 0x20]
call fcn.0040788c
call fcn.00421ec4
test al, al
je 0x422fe8
cmp dword [ebp - 0x24], 0
je 0x422fe8
mov eax, dword [ebp - 0x24]
call fcn.00407624
test al, al
je 0x422fe8
mov eax, dword [ebp - 0x24]
call fcn.0040788c
cmp byte [ebp - 0x26], 0
jne 0x42305a
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x42318c
mov edx, 0x4231c4
mov eax, esi
call fcn.0041aa64
mov eax, dword [ebp - 0x84]
push eax
mov eax, esi
call fcn.0041ab70
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x423308
mov edx, 0x423308
mov eax, esi
call fcn.0041aa64
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x423318
mov edx, 0x423368
mov eax, esi
call fcn.0041aa64
mov edx, dword [ebp - 0x8c]
xor eax, eax
pop ecx
call fcn.0040d23c
call fcn.004200ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4230b3
lea eax, [ebp - 0x8c]
mov edx, 0x14
call fcn.004043fc
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.004043fc
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004043fc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043fc
lea eax, [ebp + 0xc]
call fcn.004043d8
ret