Function at 0x405b36
Capabilities:
Create thread
Hide graphical window

Disassembly:
enter 0x58, 0
push ebx
push esi
push edi
push 0x40bb4d
push 0x405e3a
call fcn.00408e78
call fcn.004085ec
and dword [ebp - 0x4c], 0
mov eax, sym.V.DLL_Ordinal_1
mov dword [ebp - 0x48], eax
and dword [ebp - 0x44], 0
and dword [ebp - 0x40], 0
mov eax, dword [0x40c560]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov eax, dword [0x40c86c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_RegisterClassA
test ax, ax
jne 0x405b9b
jmp 0x405e22
push 0
push dword [0x40c560]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0
mov eax, dword [0x40c86c]
push dword [eax + 4]
call fcn.00407fcb
mov dword [0x40c888], eax
cmp dword [0x40c888], 0
jne 0x405be2
jmp 0x405e22
push 0
push dword [0x40c888]
call sub.user32.dll_ShowWindow
push dword [0x40c888]
call sub.user32.dll_UpdateWindow
mov dword [0x40c8b4], 0x1e00
mov eax, dword [0x40c86c]
push dword [eax + 8]
mov eax, dword [0x40c86c]
push dword [eax + 4]
call sub.user32.dll_FindWindowA
test eax, eax
je 0x405cd0
mov eax, dword [0x40c8db]
test eax, eax
je 0x405c2d
mov eax, dword [eax - 4]
cmp eax, 1
jle 0x405cc6
push 0x40c8db
lea eax, [ebp - 0x50]
push eax
push dword [0x40c8db]
call fcn.004088c4
push 0x40bb36
call fcn.00408928
pop eax
push dword [eax]
call fcn.0040888c
mov eax, dword [0x40c8db]
test eax, eax
je 0x405c68
mov eax, dword [eax - 4]
mov ecx, 4
cdq
idiv ecx
test edx, edx
je 0x405c9c
push 0x40c8db
lea eax, [ebp - 0x54]
push eax
push dword [0x40c8db]
call fcn.004088c4
push 0x40bb40
call fcn.00408928
pop eax
push dword [eax]
call fcn.0040888c
jmp 0x405c5c
push dword [0x40c888]
push 0x7b
push 0xdead
mov eax, dword [0x40c86c]
push dword [eax + 8]
mov eax, dword [0x40c86c]
push dword [eax + 4]
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_PostMessageA
jmp 0x405ccb
jmp 0x405e22
jmp 0x405dc6
mov eax, dword [0x40c86c]
push dword [eax + 8]
push dword [0x40c888]
call sub.user32.dll_SetWindowTextA
push 0xfffffffffffffffe
push 0x40c8ac
push 0
push 0
push 0x4043bb
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0x101
push 0
call fcn.00407f5f
mov dword [0x40c8c4], eax
push dword [0x40c8b4]
push 0
call fcn.00407f5f
mov dword [0x40c8bc], eax
mov eax, dword [0x40c8db]
test eax, eax
je 0x405d31
mov eax, dword [eax - 4]
cmp eax, 1
jle 0x405d90
push 0x40c8db
lea eax, [ebp - 0x58]
push eax
push dword [0x40c8db]
call fcn.004088c4
push 0x40bb4a
call fcn.00408928
pop eax
push dword [eax]
call fcn.0040888c
push dword [0x40c8bc]
mov eax, dword [0x40c8db]
push eax
call fcn.00407e6a
push 0x404e00
push 0x1388
push 0x29a
push dword [0x40c888]
call sub.user32.dll_SetTimer
mov byte [0x40c1a1], 1
jmp 0x405da0
push dword [0x40c8bc]
push 0x40bb4c
call fcn.00407e6a
mov byte [0x40c1a0], 1
call fcn.00405159
push 0x404efd
push GlobalHandle
push 0x309
push dword [0x40c888]
call sub.user32.dll_SetTimer
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
je 0x405ded
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x405dc6
cmp byte [0x40c1a0], 0
je 0x405e22
push dword [0x40c8bc]
call fcn.00407fa2
push dword [0x40c8c4]
call fcn.00407fa2
push dword [0x410ef8]
call sub.user32.dll_UnhookWindowsHookEx
push dword [0x410efc]
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
pop dword fs:[eax]
add esp, 8
push 0x405e41
push 0x40bb4d
call fcn.00408ecc
ret