Function at 0x4212a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4212b1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040461c
mov eax, dword [ebp - 8]
call fcn.0040461c
xor eax, eax
push ebp
push 0x42183c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x14]
call fcn.00404188
mov eax, esi
call fcn.00404188
lea eax, [ebp - 0x18]
call fcn.00404188
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00407314
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00404220
mov eax, dword [0x427da0]
cmp byte [eax], 0
je 0x421333
lea eax, [ebp - 4]
mov edx, dword [0x427e8c]
mov edx, dword [edx]
call fcn.00404220
push dword [ebp - 4]
push 0x421858
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004044ec
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x421864
call fcn.00404848
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00406f04
mov edx, eax
pop eax
call fcn.00403000
mov dl, 0x20
call fcn.00402fb0
mov edx, dword [ebp - 0x1c]
call fcn.00404848
call fcn.004030b0
lea edx, [ebp - 0x2c]
mov eax, dword [0x427da0]
cmp byte [eax], 1
cmc
sbb eax, eax
call fcn.0040ce50
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x421880
call fcn.00404478
mov eax, dword [ebp - 0x28]
call fcn.004146bc
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x421894
call fcn.00404478
mov eax, dword [ebp - 0x30]
call fcn.004146bc
mov eax, dword [ebp - 0x1c]
call fcn.00406f04
test al, al
je 0x421431
push 0
push 0
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.00413154
mov eax, ebx
add al, 0xfe
sub al, 2
jae 0x4215ed
cmp dword [ebp - 0x14], 0
je 0x4215ed
lea edx, [ebp - 0x34]
mov al, 1
call fcn.0040d050
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00413270
jmp 0x4215ed
mov eax, dword [0x427da0]
cmp byte [eax], 0
jne 0x4215ed
call fcn.0041d0d8
test al, al
je 0x4215ed
xor edx, edx
mov eax, 0x1f4
call fcn.0040c0b4
cmp bl, 1
jne 0x421497
call fcn.0041b658
push eax
call fcn.0041b554
push eax
lea ecx, [ebp - 0x38]
mov edx, 0x4218b0
mov eax, 0x4218d4
call fcn.0041b6d4
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
call fcn.0041b5cc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [0x427ebc]
mov eax, dword [eax]
pop edx
call fcn.0041a690
cmp bl, 2
jne 0x4214d6
call fcn.0041b658
push eax
call fcn.0041b554
push eax
lea ecx, [ebp - 0x40]
mov edx, 0x4218e0
mov eax, 0x421904
call fcn.0041b6d4
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
call fcn.0041b5cc
mov ecx, dword [ebp - 0x44]
mov eax, dword [0x427ebc]
mov eax, dword [eax]
pop edx
call fcn.0041a690
cmp bl, 3
jne 0x421515
call fcn.0041b658
push eax
call fcn.0041b554
push eax
lea ecx, [ebp - 0x48]
mov edx, 0x421910
mov eax, 0x421934
call fcn.0041b6d4
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
call fcn.0041b5cc
mov ecx, dword [ebp - 0x4c]
mov eax, dword [0x427ebc]
mov eax, dword [eax]
pop edx
call fcn.0041a690
push dword [ebp - 4]
push 0x421940
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x18]
call fcn.00404188
xor eax, eax
call fcn.0041d0f4
cmp bl, 2
jne 0x421554
call fcn.0041bfc8
test al, al
je 0x421554
mov eax, dword [0x427e74]
cmp dword [eax], 1
jne 0x421558
xor eax, eax
jmp 0x42155a
mov al, 1
mov byte [ebp - 0x1d], al
mov eax, ebx
add al, 0xfe
sub al, 2
jae 0x42157d
lea edx, [ebp - 0x50]
mov al, 1
call fcn.0040d050
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.00404478
cmp byte [ebp - 0x1d], 0
je 0x421592
push 5
mov eax, dword [0x427d7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x427e74]
cmp dword [eax], 1
jne 0x4215a6
mov edi, dword [0x427d7c]
mov edi, dword [edi]
jmp 0x4215a8
xor edi, edi
lea eax, [ebp - 0x14]
push eax
push 0x4147c4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, edi
call fcn.0041d4ec
mov edx, dword [ebp - 0x54]
mov eax, esi
call fcn.004041dc
cmp byte [ebp - 0x1d], 0
je 0x4215e1
push 0
mov eax, dword [0x427d7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, 0x1f4
call fcn.0040c0b4
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x42194c
call fcn.00404478
mov eax, dword [ebp - 0x58]
call fcn.004146bc
mov eax, ebx
sub al, 1
jne 0x421683
cmp dword [esi], 0
jne 0x421635
cmp dword [ebp - 0x14], 0
je 0x421635
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
xor eax, eax
call fcn.004148d4
mov edx, dword [ebp - 0x5c]
mov eax, esi
call fcn.004041dc
cmp dword [esi], 0
jne 0x42166d
cmp dword [ebp - 0x14], 0
je 0x42166d
lea edx, [ebp - 0x60]
mov al, 1
call fcn.0040d050
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00413270
mov byte [ebp - 9], 1
mov edx, dword [esi]
mov eax, 0x421968
call fcn.00404770
dec eax
jne 0x421683
mov eax, esi
call fcn.00404188
mov eax, ebx
add al, 0xfe
sub al, 2
jae 0x421807
cmp dword [esi], 0
jne 0x421710
mov byte [ebp - 9], 1
mov eax, dword [0x427de4]
mov eax, dword [eax]
mov ecx, ebx
mov edx, dword [ebp - 0x18]
call fcn.004211b8
test al, al
jne 0x421710
mov byte [ebp - 9], 0
push 0x421974
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.004148d4
mov eax, dword [ebp - 0x18]
call fcn.0040716c
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
mov edx, 0x421990
call fcn.00404478
mov eax, dword [ebp - 0x64]
call fcn.004146bc
lea eax, [ebp - 0x68]
call fcn.0041b338
mov eax, dword [ebp - 0x68]
push eax
call fcn.0041b554
push eax
lea eax, [ebp - 0x6c]
call fcn.0041b3e8
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040c494
cmp dword [esi], 0
je 0x421807
mov eax, dword [ebp - 0x1c]
call fcn.0040442c
cmp eax, 2
jle 0x421807
call fcn.0041bfc8
test al, al
je 0x421807
call fcn.0041d0fc
test al, al
je 0x421754
lea ecx, [ebp - 0x10]
mov edx, 0x4219a0
mov eax, 0x4219c0
call fcn.0041b6d4
jmp 0x4217c6
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 1], 0x3a
je 0x421770
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, 0x4219cc
call fcn.0040bfd8
test al, al
je 0x42179c
push dword [ebp - 0x1c]
push 0x4219d8
lea ecx, [ebp - 0x70]
mov edx, 0x4219e8
mov eax, 0x421a00
call fcn.0041b6d4
push dword [ebp - 0x70]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
jmp 0x4217c6
push dword [ebp - 0x1c]
push 0x4219d8
lea ecx, [ebp - 0x74]
mov edx, 0x421a0c
mov eax, 0x421a30
call fcn.0041b6d4
push dword [ebp - 0x74]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
mov edx, 0x421a3c
call fcn.00404478
mov eax, dword [ebp - 0x78]
call fcn.004146bc
lea eax, [ebp - 0x7c]
call fcn.0041b338
mov eax, dword [ebp - 0x7c]
push eax
call fcn.0041b554
push eax
push 0
lea eax, [ebp - 0x80]
call fcn.0041b4d8
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040c524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421843
lea eax, [ebp - 0x80]
mov edx, 0x18
call fcn.004041ac
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004041ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041ac
ret