Function at 0x405e30
Capabilities:
Hide graphical window
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov dword [0x418f58], 0xffffffff
mov dword [0x418f28], 1
mov eax, dword [0x416610]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [0x416610], 0
cmp dword [0x418f5c], 2
je 0x405e75
cmp dword [0x418f5c], 3
jne 0x405e82
push 0x417ccc
call fcn.00409e30
add esp, 4
cmp dword [0x416628], 0
je 0x405e9f
mov dword [0x418f2c], 1
mov dword [0x416628], 0
cmp dword [0x41662c], 0
je 0x405ec1
push 0
mov ecx, dword [0x41662c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x41662c], 0
cmp dword [0x416638], 0
je 0x405ee3
push 0
mov edx, dword [0x416638]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x416638], 0
cmp dword [0x416634], 0
je 0x405f04
push 0
mov eax, dword [0x416634]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x416634], 0
call fcn.0040a390
push 0x40f360
lea ecx, [ebp - 0x420]
push ecx
call dword [0x4121f4]
push 0x41727c
lea edx, [ebp - 0x420]
push edx
call dword [0x4121f4]
push 0x416a5c
push 0x418f18
lea eax, [ebp - 0x420]
push eax
call fcn.004071f0
add esp, 8
push eax
call fcn.004071f0
add esp, 8
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0xa50]
push edx
call dword [0x4121f4]
push str..xds
lea eax, [ebp - 0xa50]
push eax
call fcn.004071f0
add esp, 8
push 0
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0xa50]
push edx
call fcn.0040a6f0
add esp, 0xc
lea eax, [ebp - 0xa50]
push eax
call fcn.0040bf20
add esp, 4
test eax, eax
jne 0x405fb8
call fcn.00402a20
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00409cf0
add esp, 4
jmp 0x40602c
lea edx, [ebp - 0x420]
push edx
call fcn.00409cf0
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00409c60
add esp, 8
test eax, eax
jne 0x40602c
mov dword [ebp - 0xa54], 0
mov edx, dword [ebp - 0xa54]
mov eax, dword [ebp - 0xa54]
add eax, 1
mov dword [ebp - 0xa54], eax
cmp edx, 0xa
jge 0x40602c
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0xa50]
push edx
call fcn.00409c60
add esp, 8
test eax, eax
jne 0x40602c
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405feb
lea eax, [ebp - 0x638]
push eax
push 0x41727c
call fcn.004094d0
add esp, 8
test eax, eax
je 0x4060ca
push 0x40f360
lea ecx, [ebp - 0x210]
push ecx
call dword [0x4121f4]
push 0x40f320
push 0x416a5c
push 0x418f18
lea edx, [ebp - 0x638]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.004071f0
add esp, 8
push eax
call fcn.004071f0
add esp, 8
push eax
call fcn.004071f0
add esp, 8
push eax
call fcn.004071f0
add esp, 8
cmp dword [0x418f34], 0
je 0x4060ca
mov ecx, dword [0x416600]
push ecx
push 0x41727c
push 0x416a5c
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x420]
push eax
call section..text
add esp, 0x14
call fcn.00407f00
call fcn.004061b0
mov dword [0x418f38], 1
cmp dword [0x418f3c], 0
je 0x4060ef
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x40f360
lea ecx, [ebp - 0x210]
push ecx
call dword [0x4121f4]
push 0x3fd
mov edx, dword [0x416618]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x424], eax
push 0
push 0
push 0xf0
mov eax, dword [ebp - 0x424]
push eax
call fcn.00408b10
add esp, 0x10
cmp eax, 1
jne 0x40617d
cmp dword [0x416600], 0
je 0x406150
lea ecx, [ebp - 0x420]
push ecx
call fcn.00406380
add esp, 4
jmp 0x40615f
lea edx, [ebp - 0x420]
push edx
call fcn.00406400
add esp, 4
mov eax, dword [0x416620]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x416620], 0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
mov ecx, dword [0x41661c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [0x416618]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x41661c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 8
mov esp, ebp
pop ebp
ret