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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov dword [0x41b398], 0xffffffff
mov dword [0x41b368], 1
mov eax, dword [0x418a50]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [0x418a50], 0
cmp dword [0x41b39c], 2
je 0x405e75
cmp dword [0x41b39c], 3
jne 0x405e82
push 0x41a10c
call fcn.00409e60
add esp, 4
cmp dword [0x418a68], 0
je 0x405e9f
mov dword [0x41b36c], 1
mov dword [0x418a68], 0
cmp dword [0x418a6c], 0
je 0x405ec1
push 0
mov ecx, dword [0x418a6c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x418a6c], 0
cmp dword [0x418a78], 0
je 0x405ee3
push 0
mov edx, dword [0x418a78]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x418a78], 0
cmp dword [0x418a74], 0
je 0x405f04
push 0
mov eax, dword [0x418a74]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x418a74], 0
call fcn.0040a3c0
push 0x410360
lea ecx, [ebp - 0x420]
push ecx
call dword [0x414628]
push 0x4196bc
lea edx, [ebp - 0x420]
push edx
call dword [0x414628]
push 0x418e9c
push 0x41b358
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 [0x414628]
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.0040a720
add esp, 0xc
lea eax, [ebp - 0xa50]
push eax
call fcn.0040be60
add esp, 4
test eax, eax
jne 0x405fb8
call fcn.00402a20
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00409d20
add esp, 4
jmp 0x40602c
lea edx, [ebp - 0x420]
push edx
call fcn.00409d20
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00409c90
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.00409c90
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 0x4196bc
call fcn.00409500
add esp, 8
test eax, eax
je 0x4060ca
push 0x410360
lea ecx, [ebp - 0x210]
push ecx
call dword [0x414628]
push 0x410320
push 0x418e9c
push 0x41b358
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 [0x41b374], 0
je 0x4060ca
mov ecx, dword [0x418a40]
push ecx
push 0x4196bc
push 0x418e9c
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x420]
push eax
call section..text
add esp, 0x14
call fcn.00407f30
call fcn.004061b0
mov dword [0x41b378], 1
cmp dword [0x41b37c], 0
je 0x4060ef
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x410360
lea ecx, [ebp - 0x210]
push ecx
call dword [0x414628]
push 0x3fd
mov edx, dword [0x418a58]
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.00408b40
add esp, 0x10
cmp eax, 1
jne 0x40617d
cmp dword [0x418a40], 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 [0x418a60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x418a60], 0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
mov ecx, dword [0x418a5c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [0x418a58]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x418a5c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 8
mov esp, ebp
pop ebp
ret