Function at 0x4036b8
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.0040364a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00403999
test eax, eax
je 0x4038e9
push 0x10
call fcn.00408f90
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x403701
mov ecx, dword [ebp - 0x30]
call fcn.00407ea0
mov dword [ebp - 0x3c], eax
jmp 0x403708
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x398], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x34c], 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x350], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x354], edx
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x390], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x394], 0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x388], 0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x38c], 0
push 8
call fcn.00408f90
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x403795
mov ecx, dword [ebp - 0x34]
call fcn.00407510
mov dword [ebp - 0x40], eax
jmp 0x40379c
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x388], edx
mov eax, dword [ebp - 0x38]
add eax, 0x38c
push eax
push str.a3yn
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x388]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x388]
mov eax, dword [ecx]
push edx
call dword [eax]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
call fcn.00403bf8
test eax, eax
je 0x4038e9
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x350]
and edx, 4
test edx, edx
jne 0x4038e9
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x350]
and ecx, 1
test ecx, ecx
jne 0x4038e9
mov edx, dword [ebp - 0x38]
push edx
push 0x40587d
push 0
push 0x66
mov eax, dword [0x417f58]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x364], eax
push 5
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x364]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
push 0x404f0a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x360], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x360]
mov dword [ebp - 8], eax
mov ecx, 1
test ecx, ecx
je 0x4038d9
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4038b7
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x364]
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4038b5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403873
push 0xbf
push 0xffffffffffffffff
push 0
lea edx, [ebp - 8]
push edx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4038d7
jmp 0x4038d9
jmp 0x40386a
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x364]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret 0xc