Function at 0x4315b4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4315bd
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.00404b4c
mov eax, dword [ebp - 0xc]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x431ad9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x18]
call fcn.0040469c
mov eax, esi
call fcn.0040469c
lea eax, [ebp - 0x1c]
call fcn.0040469c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00408a9c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404734
mov eax, dword [0x437ffc]
cmp byte [eax], 0
je 0x431640
lea eax, [ebp - 8]
mov edx, dword [0x43812c]
mov edx, dword [edx]
call fcn.00404734
push dword [ebp - 8]
push 0x431af4
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404a1c
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x438008]
call fcn.00405708
mov edx, 0x431b00
call fcn.00404d78
mov edx, dword [ebp - 0x20]
call fcn.00404d78
call fcn.004032e4
lea edx, [ebp - 0x2c]
mov eax, dword [0x437ffc]
cmp byte [eax], 1
cmc
sbb eax, eax
call fcn.00417818
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x431b1c
call fcn.004049a8
mov eax, dword [ebp - 0x28]
call fcn.00422e94
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, 0x431b30
call fcn.004049a8
mov eax, dword [ebp - 0x30]
call fcn.00422e94
cmp byte [ebp - 1], 2
jne 0x4316de
call fcn.0042df7c
test al, al
je 0x4316de
mov eax, dword [0x43810c]
cmp dword [eax], 1
jne 0x4316e2
xor ebx, ebx
jmp 0x4316e4
mov bl, 1
test bl, bl
je 0x4316f7
push 5
mov eax, dword [0x437fd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
push ebp
call fcn.00431474
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.0040868c
test al, al
je 0x4317bb
push 0
push 0
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0041ac5c
mov al, byte [ebp - 1]
add al, 0xfe
sub al, 2
jae 0x43187c
cmp dword [ebp - 0x18], 0
je 0x43187c
lea edx, [ebp - 0x34]
mov al, 1
call fcn.00418b94
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.004049a8
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0041ad78
test bl, bl
je 0x43187c
push 0
push 1
push 0
mov ecx, 0xa
xor edx, edx
xor eax, eax
call fcn.00422f9c
mov edi, 0xa
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, 1
call fcn.00422f9c
push 0
push 0x12c
xor eax, eax
call fcn.0041673c
dec edi
jne 0x431780
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00422f9c
jmp 0x43187c
mov eax, dword [0x437ffc]
cmp byte [eax], 0
jne 0x43187c
call fcn.004221ec
test al, al
je 0x43187c
push 0
push 0x1f4
xor eax, eax
call fcn.0041673c
push dword [ebp - 8]
push 0x431b4c
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404a1c
lea eax, [ebp - 0x1c]
call fcn.0040469c
xor eax, eax
call fcn.00422230
mov al, byte [ebp - 1]
add al, 0xfe
sub al, 2
jae 0x43182c
lea edx, [ebp - 0x38]
mov al, 1
call fcn.00418b94
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.004049a8
mov eax, dword [0x43810c]
cmp dword [eax], 1
jne 0x431840
mov edi, dword [0x437fd4]
mov edi, dword [edi]
jmp 0x431842
xor edi, edi
call fcn.004230ac
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x43818c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, edi
call fcn.00422ca0
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.004046f0
push 0
push 0x1f4
xor eax, eax
call fcn.0041673c
test bl, bl
je 0x43188f
push 0
mov eax, dword [0x437fd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov edx, 0x431b58
call fcn.004049a8
mov eax, dword [ebp - 0x40]
call fcn.00422e94
mov al, byte [ebp - 1]
sub al, 1
jne 0x43192b
cmp dword [esi], 0
jne 0x4318d8
cmp dword [ebp - 0x18], 0
je 0x4318d8
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.004215b0
mov edx, dword [ebp - 0x44]
mov eax, esi
call fcn.004046f0
cmp dword [esi], 0
jne 0x4318e3
cmp dword [ebp - 0x18], 0
jne 0x4318e7
xor eax, eax
jmp 0x4318e9
mov al, 1
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x48]
mov al, 1
call fcn.00418b94
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.004049a8
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0041ad78
mov edx, dword [esi]
mov eax, 0x431b74
call fcn.00404ca0
dec eax
jne 0x43192b
mov eax, esi
call fcn.0040469c
mov al, byte [ebp - 1]
add al, 0xfe
sub al, 2
jae 0x431ab1
cmp dword [esi], 0
jne 0x4319ba
mov byte [ebp - 0xd], 1
mov eax, dword [0x438044]
mov eax, dword [eax]
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 0x1c]
call fcn.00431384
test al, al
jne 0x4319ba
mov byte [ebp - 0xd], 0
push 0x431b80
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004215b0
mov eax, dword [ebp - 0x1c]
call fcn.004088f4
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, 0x431b9c
call fcn.004049a8
mov eax, dword [ebp - 0x4c]
call fcn.00422e94
lea eax, [ebp - 0x50]
call fcn.0042d220
mov eax, dword [ebp - 0x50]
push eax
call fcn.0042d43c
push eax
lea eax, [ebp - 0x54]
call fcn.0042d2d0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x14]
xor eax, eax
call fcn.00416b54
cmp dword [esi], 0
je 0x431ab1
mov eax, dword [ebp - 0x20]
call fcn.0040495c
cmp eax, 2
jle 0x431ab1
call fcn.0042df7c
test al, al
je 0x431ab1
call fcn.00422238
test al, al
je 0x4319fe
lea ecx, [ebp - 0x14]
mov edx, 0x431bac
mov eax, 0x431bcc
call fcn.0042d5bc
jmp 0x431a70
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x3a
je 0x431a1a
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, 0x431bd8
call fcn.00416610
test al, al
je 0x431a46
push dword [ebp - 0x20]
push 0x431be4
lea ecx, [ebp - 0x58]
mov edx, 0x431bf4
mov eax, 0x431c0c
call fcn.0042d5bc
push dword [ebp - 0x58]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a1c
jmp 0x431a70
push dword [ebp - 0x20]
push 0x431be4
lea ecx, [ebp - 0x5c]
mov edx, 0x431c18
mov eax, 0x431c3c
call fcn.0042d5bc
push dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a1c
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov edx, 0x431c48
call fcn.004049a8
mov eax, dword [ebp - 0x60]
call fcn.00422e94
lea eax, [ebp - 0x64]
call fcn.0042d220
mov eax, dword [ebp - 0x64]
push eax
call fcn.0042d43c
push eax
push 0
lea eax, [ebp - 0x68]
call fcn.0042d3c0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x14]
xor eax, eax
call fcn.00416be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431ae0
lea eax, [ebp - 0x68]
mov edx, 0x16
call fcn.004046c0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046c0
ret