Function at 0x10004343
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
cmp dword [0x10027006], 0x359d9d
jne 0x100043d1
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x359d9d
push 0x10004f78
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100043a7
push 6
call fcn.1000c8ac
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 0x100043cc
push 6
call fcn.1000c8ac
add esp, 4
jmp 0x1000476e
cmp dword [0x10027006], 0
jne 0x100044fd
mov dword [0x10027006], 0x359d9d
push 0x80000004
push 0
push str.Super_EC
push 1
mov ebx, 0x198
call fcn.1000d610
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10004772
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10004425
push ebx
call fcn.1000c8a0
add esp, 4
push str.2F8761CF148F88C2640DBBA783EF2917
push dword [ebp - 0xc]
call fcn.1000152d
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 0x10004453
push ebx
call fcn.1000c8a0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x10004462
jmp 0x1000476e
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x184
call fcn.1000d800
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x1002700a]
test ebx, ebx
je 0x1000449a
push ebx
call fcn.1000c8a0
add esp, 4
pop eax
mov dword [0x1002700a], eax
mov dword [ebp - 8], esp
push 0
push dword [0x1002700a]
push dword [0x1002700a]
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100044d0
push 6
call fcn.1000c8ac
add esp, 4
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [0x10027006]
fstp qword [ebp - 0x1c]
fadd qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001160
mov dword [0x1002700e], eax
jmp 0x1000476e
push 0x100262c3
push dword [0x10027012]
call fcn.1000152d
add esp, 8
cmp eax, 0
jne 0x1000451e
jmp 0x1000476e
cmp dword [0x10027016], 0
je 0x10004530
jmp 0x1000476e
cmp dword [0x1002701a], 0
jne 0x10004560
push 0x100262c3
push dword [0x1002701e]
call fcn.1000152d
add esp, 8
cmp eax, 0
je 0x10004560
mov eax, 1
jmp 0x10004565
mov eax, 0
test eax, eax
je 0x10004572
jmp 0x1000476e
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.1000da90
add esp, 0x10
push 0x80000301
push 0
push 0x32
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x94
call fcn.1000dac0
add esp, 0x1c
mov byte [ebp - 4], al
cmp byte [ebp - 4], 1
jne 0x1000466d
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 0x100045e5
push 6
call fcn.1000c8ac
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 0x1000460f
push 6
call fcn.1000c8ac
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 0x10004631
push 6
call fcn.1000c8ac
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 0x10004668
push 6
call fcn.1000c8ac
add esp, 4
jmp 0x1000476e
cmp byte [ebp - 4], 2
jne 0x100046e3
push 0x80000301
push 0
push 0x1df20400
push 1
mov ebx, 0x184
call fcn.1000d800
add esp, 0x10
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [0x1002700a]
mov ecx, 2
call fcn.1000262b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100046c1
push ebx
call fcn.1000c8a0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x1002700a]
test ebx, ebx
je 0x100046d8
push ebx
call fcn.1000c8a0
add esp, 4
pop eax
mov dword [0x1002700a], eax
jmp 0x1000476e
cmp byte [ebp - 4], 3
jne 0x10004745
mov dword [ebp - 8], esp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x1000470c
push 6
call fcn.1000c8ac
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 0x10004740
push 6
call fcn.1000c8ac
add esp, 4
jmp 0x1000476e
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 0x1000476e
push 6
call fcn.1000c8ac
add esp, 4
mov esp, ebp
pop ebp
ret