Function at 0x40b393
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ebx, dword [0x4c0e13]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esp
push str.Naraka
push str.UnityWndClass
call dword [sym.imp.USER32.dll_FindWindowA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40b3ce
push 6
call fcn.004341c8
add esp, 4
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x4c0e13]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jle 0x40b596
mov ebx, dword [0x4c0e13]
mov dword [ebp - 4], ebx
mov ebx, dword [0x4c0e13]
add ebx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40b424
push 6
call fcn.004341c8
add esp, 4
mov ebx, dword [0x4c0e13]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jle 0x40b596
mov ebx, dword [0x4c0e17]
mov dword [ebp - 4], ebx
mov ebx, dword [0x4c0e13]
add ebx, 4
mov dword [ebp - 8], ebx
mov eax, str.GameAssembly.dll
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
push dword [ebx]
push 0x4c0e03
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b487
push ebx
call fcn.004341bc
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x4c0e17]
mov dword [ebp - 4], ebx
xor eax, eax
mov ebx, dword [ebp - 4]
cmp dword [ebx + 4], 0
jl 0x40b4b4
jg 0x40b4b3
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jbe 0x40b4b4
inc eax
test eax, eax
je 0x40b596
mov ebx, dword [0x4c0e17]
add ebx, 0x18
mov dword [ebp - 4], ebx
mov ebx, dword [0x4c0e17]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4bad0d]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401b26
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x4c0e17]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [0x4c0e17]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4bad15]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401b26
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x4c0e17]
add ebx, 0x10
mov dword [ebp - 4], ebx
mov ebx, dword [0x4c0e17]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4bad1d]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401b26
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x4c0e17]
add ebx, 0x18
mov dword [ebp - 4], ebx
xor eax, eax
mov ebx, dword [ebp - 4]
cmp dword [ebx + 4], 0
jl 0x40b589
jg 0x40b588
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jbe 0x40b589
inc eax
test eax, eax
je 0x40b596
jmp 0x40b5ea
mov dword [ebp - 4], esp
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b5ba
push 6
call fcn.004341c8
add esp, 4
push 0
mov ebx, 0x350
call fcn.00434c20
add esp, 4
mov ebx, dword [0x4c0e17]
add ebx, 0x18
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x40b5e4
cmp dword [ebx + 4], 0
je 0x40b39c
mov dword [ebp - 4], esp
push 0x1f40
call dword [sym.imp.KERNEL32.DLL_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b60e
push 6
call fcn.004341c8
add esp, 4
call fcn.0040b8cc
push 0
mov ebx, 4
mov eax, 0x43efd0
call fcn.004347b0
add esp, 4
mov dword [0x4c0e1b], eax
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40fa14
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b673
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [0x4c0edf]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b698
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4169a1
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b6dc
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [0x4c0edf]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b701
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4173ea
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b745
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [0x4c0edf]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b76a
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x41a04b
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b7ae
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [0x4c0edf]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b7d3
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x41b6da
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40b817
push 6
call fcn.004341c8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [0x4c0edf]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b83c
push 6
call fcn.004341c8
add esp, 4
mov ebx, dword [0x4c0e1f]
add ebx, 8
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x12
push 0x426847
call fcn.0040c5e8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b883
push ebx
call fcn.004341bc
add esp, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x4c0e1f]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push dword [ebx]
push 0x4c0e03
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
call fcn.00406115
push eax
push 0x4c0e03
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.0040d5d7
mov esp, ebp
pop ebp
ret