Function at 0x4626a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059b0
xor eax, eax
push ebp
push 0x462a1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push dword [eax - 8]
push 0x462a30
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
call fcn.004056fc
push dword [ebp - 0xc]
push 0x462a44
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
push 0x462a58
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
mov edx, 6
call fcn.004058c4
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, 0xffffffcf
cmp eax, 0x10
ja case.0x462723.53
movzx eax, byte [eax + 0x46272a]
jmp dword [eax*4 + 0x46273b]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je case.0x462723.53
dec ebx
jne 0x462777
mov eax, dword [0x4739d8]
mov edx, 0x462a64
call fcn.004057fc
mov eax, dword [0x4739d8]
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.0045f554
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x473a34]
mov ecx, dword [ecx]
mov edx, dword [0x4739f0]
mov edx, dword [edx]
call fcn.004596e8
jmp case.0x462723.53
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je case.0x462723.53
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x4628e6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0046253c
test al, al
je 0x46283c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je case.0x462723.53
dec ebx
jne 0x4627ef
mov eax, dword [0x4739d8]
mov edx, 0x462a7c
call fcn.004057fc
mov eax, dword [0x4739d8]
mov eax, 0x462a98
call fcn.0043fdf4
call fcn.00449dec
call fcn.00448640
imul eax, eax, 0x3e8
mov edx, 0x462ab4
call fcn.0044caa0
mov eax, dword [0x473700]
cmp byte [eax], 0
je 0x462827
mov eax, 0x462ad8
call fcn.0043f95c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, 0x462b14
call fcn.00452e50
jmp case.0x462723.53
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
call fcn.00408ad4
mov edx, dword [ebp - 0x14]
mov eax, 0x462b28
call fcn.00405ab0
test eax, eax
je 0x4628cd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [0x473938]
mov dword [edx], eax
dec ebx
jne 0x462880
mov eax, dword [0x4739d8]
mov edx, 0x462b34
call fcn.004057fc
mov eax, dword [0x4739d8]
mov eax, 0x462b34
call fcn.0043fdf4
call fcn.00449dec
call fcn.00448640
imul eax, eax, 0x3e8
mov edx, 0x462b50
call fcn.0044caa0
mov eax, dword [0x473700]
cmp byte [eax], 0
je 0x4628b8
mov eax, 0x462ad8
call fcn.0043f95c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, 0x462b14
call fcn.00452e50
jmp case.0x462723.53
mov eax, dword [0x4739d8]
mov edx, 0x462b74
call fcn.004057fc
mov eax, dword [0x4739d8]
jmp case.0x462723.53
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je case.0x462723.53
mov eax, dword [0x4739d8]
mov edx, 0x462ba8
call fcn.004057fc
mov eax, dword [0x4739d8]
mov eax, 0x462ba8
call fcn.0043fdf4
call fcn.00449dec
call fcn.00448640
imul eax, eax, 0x3e8
mov edx, 0x462bc4
call fcn.0044caa0
mov eax, dword [0x473700]
cmp byte [eax], 0
je 0x46293f
mov eax, 0x462ad8
call fcn.0043f95c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, 0x462b14
call fcn.00452e50
jmp case.0x462723.53
dec ebx
jne 0x46296b
mov eax, dword [0x4739d8]
mov edx, 0x462be8
call fcn.004057fc
mov eax, dword [0x4739d8]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je case.0x462723.53
push 0
push 0
push 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.user32.dll_PostMessageA
jmp case.0x462723.53
dec ebx
jne 0x4629a3
mov eax, dword [0x4739d8]
mov edx, 0x462c04
call fcn.004057fc
mov eax, dword [0x4739d8]
push 7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.user32.dll_ShowWindow
push 0
push 1
push 5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.user32.dll_PostMessageA
jmp case.0x462723.53
dec ebx
jne 0x4629dc
mov eax, dword [0x4739d8]
mov edx, 0x462c24
call fcn.004057fc
mov eax, dword [0x4739d8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0044a500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a23
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405538
lea eax, [ebp - 4]
call fcn.00405514
ret