Function at 0x4225c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4225c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.0040461c
mov eax, dword [ebp - 0xc]
call fcn.0040461c
xor eax, eax
push ebp
push 0x422aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x18]
call fcn.00404188
mov eax, esi
call fcn.00404188
lea eax, [ebp - 0x1c]
call fcn.00404188
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040732c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404220
mov eax, dword [0x428dc4]
cmp byte [eax], 0
je 0x42264c
lea eax, [ebp - 8]
mov edx, dword [0x428eb0]
mov edx, dword [edx]
call fcn.00404220
push dword [ebp - 8]
push 0x422b08
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004044ec
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x428dcc]
call fcn.00404d84
mov edx, 0x422b14
call fcn.00404848
push eax
mov eax, dword [ebp - 0x20]
call fcn.00406f1c
mov edx, eax
pop eax
call fcn.00403000
mov dl, 0x20
call fcn.00402fb0
mov edx, dword [ebp - 0x20]
call fcn.00404848
call fcn.004030b0
lea edx, [ebp - 0x2c]
mov eax, dword [0x428dc4]
cmp byte [eax], 1
cmc
sbb eax, eax
call fcn.0040fc18
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x422b30
call fcn.00404478
mov eax, dword [ebp - 0x28]
call fcn.00415f8c
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, 0x422b44
call fcn.00404478
mov eax, dword [ebp - 0x30]
call fcn.00415f8c
cmp byte [ebp - 1], 2
jne 0x422702
call fcn.0041e0f8
test al, al
je 0x422702
mov eax, dword [0x428e98]
cmp dword [eax], 1
jne 0x422706
xor ebx, ebx
jmp 0x422708
mov bl, 1
test bl, bl
je 0x42271b
push 5
mov eax, dword [0x428da0]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
push ebp
call fcn.00422480
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.00406f1c
test al, al
je 0x4227dd
push 0
push 0
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0040b45c
mov al, byte [ebp - 1]
add al, 0xfe
sub al, 2
jae 0x422892
cmp dword [ebp - 0x18], 0
je 0x422892
lea edx, [ebp - 0x34]
mov al, 1
call fcn.0040fd60
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b578
test bl, bl
je 0x422892
push 0
push 1
push 0
mov ecx, 0xa
xor edx, edx
xor eax, eax
call fcn.00416094
mov edi, 0xa
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, 1
call fcn.00416094
xor edx, edx
mov eax, 0x12c
call fcn.0040ee08
dec edi
jne 0x4227a4
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00416094
jmp 0x422892
mov eax, dword [0x428dc4]
cmp byte [eax], 0
jne 0x422892
call fcn.0041f448
test al, al
je 0x422892
xor edx, edx
mov eax, 0x1f4
call fcn.0040ee08
push dword [ebp - 8]
push 0x422b60
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x1c]
call fcn.00404188
xor eax, eax
call fcn.0041f48c
mov al, byte [ebp - 1]
add al, 0xfe
sub al, 2
jae 0x42284c
lea edx, [ebp - 0x38]
mov al, 1
call fcn.0040fd60
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.00404478
mov eax, dword [0x428e98]
cmp dword [eax], 1
jne 0x422860
mov edi, dword [0x428da0]
mov edi, dword [edi]
jmp 0x422862
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push fcn.00416094
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, edi
call fcn.0041f8a0
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.004041dc
xor edx, edx
mov eax, 0x1f4
call fcn.0040ee08
test bl, bl
je 0x4228a5
push 0
mov eax, dword [0x428da0]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov edx, 0x422b6c
call fcn.00404478
mov eax, dword [ebp - 0x40]
call fcn.00415f8c
mov al, byte [ebp - 1]
sub al, 1
jne 0x42293c
cmp dword [esi], 0
jne 0x4228ee
cmp dword [ebp - 0x18], 0
je 0x4228ee
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.004161a4
mov edx, dword [ebp - 0x44]
mov eax, esi
call fcn.004041dc
cmp dword [esi], 0
jne 0x422926
cmp dword [ebp - 0x18], 0
je 0x422926
lea edx, [ebp - 0x48]
mov al, 1
call fcn.0040fd60
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b578
mov byte [ebp - 0xd], 1
mov edx, dword [esi]
mov eax, 0x422b88
call fcn.00404770
dec eax
jne 0x42293c
mov eax, esi
call fcn.00404188
mov al, byte [ebp - 1]
add al, 0xfe
sub al, 2
jae 0x422ac2
cmp dword [esi], 0
jne 0x4229cb
mov byte [ebp - 0xd], 1
mov eax, dword [0x428e08]
mov eax, dword [eax]
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 0x1c]
call fcn.00422390
test al, al
jne 0x4229cb
mov byte [ebp - 0xd], 0
push 0x422b94
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004161a4
mov eax, dword [ebp - 0x1c]
call fcn.00407184
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, 0x422bb0
call fcn.00404478
mov eax, dword [ebp - 0x4c]
call fcn.00415f8c
lea eax, [ebp - 0x50]
call fcn.0041d3e4
mov eax, dword [ebp - 0x50]
push eax
call fcn.0041d600
push eax
lea eax, [ebp - 0x54]
call fcn.0041d494
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x14]
xor eax, eax
call fcn.0040f204
cmp dword [esi], 0
je 0x422ac2
mov eax, dword [ebp - 0x20]
call fcn.0040442c
cmp eax, 2
jle 0x422ac2
call fcn.0041e0f8
test al, al
je 0x422ac2
call fcn.0041f494
test al, al
je 0x422a0f
lea ecx, [ebp - 0x14]
mov edx, 0x422bc0
mov eax, 0x422be0
call fcn.0041d780
jmp 0x422a81
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x3a
je 0x422a2b
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, 0x422bec
call fcn.0040ed2c
test al, al
je 0x422a57
push dword [ebp - 0x20]
push 0x422bf8
lea ecx, [ebp - 0x58]
mov edx, 0x422c08
mov eax, 0x422c20
call fcn.0041d780
push dword [ebp - 0x58]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004044ec
jmp 0x422a81
push dword [ebp - 0x20]
push 0x422bf8
lea ecx, [ebp - 0x5c]
mov edx, 0x422c2c
mov eax, 0x422c50
call fcn.0041d780
push dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov edx, 0x422c5c
call fcn.00404478
mov eax, dword [ebp - 0x60]
call fcn.00415f8c
lea eax, [ebp - 0x64]
call fcn.0041d3e4
mov eax, dword [ebp - 0x64]
push eax
call fcn.0041d600
push eax
push 0
lea eax, [ebp - 0x68]
call fcn.0041d584
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x14]
xor eax, eax
call fcn.0040f294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422af1
lea eax, [ebp - 0x68]
mov edx, 0x16
call fcn.004041ac
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004041ac
ret