Function at 0x404aa9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
cmp dword [0x4f3cfd], 0x359d9d
jne 0x404b37
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x359d9d
push 0x4056db
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x404b0d
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x404b32
push 6
call fcn.00415153
add esp, 4
jmp 0x404ed1
cmp dword [0x4f3cfd], 0
jne 0x404c63
mov dword [0x4f3cfd], 0x359d9d
push 0x80000004
push 0
push str.Super_EC
push 1
mov ebx, 0x198
call fcn.00415df0
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00404ed5
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404b8b
push ebx
call fcn.0041514d
add esp, 4
push str.2F8761CF148F88C2640DBBA783EF2917
push dword [ebp - 0xc]
call fcn.0040170e
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404bb9
push ebx
call fcn.0041514d
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x404bc8
jmp 0x404ed1
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x184
call fcn.00415cd0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x4f3d01]
test ebx, ebx
je 0x404c00
push ebx
call fcn.0041514d
add esp, 4
pop eax
mov dword [0x4f3d01], eax
mov dword [ebp - 8], esp
push 0
push dword [0x4f3d01]
push dword [0x4f3d01]
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x404c36
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x4f3cfd]
fstp qword [ebp - 0x1c]
fadd qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004019bc
mov dword [0x4f3d05], eax
jmp 0x404ed1
push 0x423240
push dword [0x4f3d09]
call fcn.0040170e
add esp, 8
cmp eax, 0
jne 0x404c84
jmp 0x404ed1
cmp dword [0x4f3d0d], 0
je 0x404c96
jmp 0x404ed1
cmp dword [0x4f3d11], 0
jne 0x404cc6
push 0x423240
push dword [0x4f3d15]
call fcn.0040170e
add esp, 8
cmp eax, 0
je 0x404cc6
mov eax, 1
jmp 0x404cc8
xor eax, eax
test eax, eax
je 0x404cd5
jmp 0x404ed1
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.00415eb0
add esp, 0x10
push 0x80000301
push 0
push 0x32
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x94
call fcn.00415780
add esp, 0x1c
mov byte [ebp - 4], al
cmp byte [ebp - 4], 1
jne 0x404dd0
mov dword [ebp - 8], esp
push str.NTDLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x404d48
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x140
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404d72
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x404d94
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push 0
push 0x11
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x404dcb
push 6
call fcn.00415153
add esp, 4
jmp 0x404ed1
cmp byte [ebp - 4], 2
jne 0x404e46
push 0x80000301
push 0
push 0x1df20400
push 1
mov ebx, 0x184
call fcn.00415cd0
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [0x4f3d01]
mov ecx, 2
call fcn.00401a4e
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404e24
push ebx
call fcn.0041514d
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x4f3d01]
test ebx, ebx
je 0x404e3b
push ebx
call fcn.0041514d
add esp, 4
pop eax
mov dword [0x4f3d01], eax
jmp 0x404ed1
cmp byte [ebp - 4], 3
jne 0x404ea8
mov dword [ebp - 8], esp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x404e6f
push 6
call fcn.00415153
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push 0
push 0x10
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_PostMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404ea3
push 6
call fcn.00415153
add esp, 4
jmp 0x404ed1
mov dword [ebp - 8], esp
push 0x96
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Beep]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x404ed1
push 6
call fcn.00415153
add esp, 4
mov esp, ebp
pop ebp
ret