Function at 0x1003e950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100427d5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1004d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1005b8d8]
movss xmm0, dword [0x10049838]
divss xmm0, dword [edi + 0x9c]
movss dword [ebp - 0x14], xmm0
movsd xmm0, qword [edi + 0x3dd8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [0x10049868]
xorps xmm1, xmm1
mov eax, dword [edi + 0x3e60]
addsd xmm0, qword [0x10049868]
lea esi, [eax + 0x1a0]
lea ecx, [eax + 0x1a8]
push esi
cvtsd2ss xmm1, xmm0
movss dword [0x1005b900], xmm1
subss xmm1, dword [0x1005b90c]
mulss xmm1, dword [ebp - 0x14]
addss xmm1, dword [0x1005b90c]
movss dword [0x1005b90c], xmm1
call fcn.100194b0
mov dword [esi], 0x43be0000
and dword [edi + 0x46c0], 0xfffffffe
push str.LONG_RANGE
call fcn.1002d5a0
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x41f00000
push eax
push 0x1005b8f4
mov ecx, str.Long_Range
call fcn.10030280
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
push str.RanClient.exe
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x1003ea67
xor ecx, ecx
jmp 0x1003ea76
push 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
call edi
push eax
call esi
mov ecx, dword [ebp - 0x2c]
movss xmm1, dword [0x1005b8f4]
add ecx, 0xbf2000
call fcn.1003fb40
mov ecx, 0x400
call fcn.100065c0
test al, al
je 0x1003eaa4
push str.Drag_to_adjust
call fcn.10012570
add esp, 4
push str.AREA_OF_EFFECT
call fcn.1002d5a0
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x43480000
push eax
push 0x1005b8e8
mov ecx, str.AOE
call fcn.10030280
add esp, 0x14
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
push str.RanClient.exe
call ebx
test eax, eax
jne 0x1003eaf5
xor ecx, ecx
jmp 0x1003eb04
push 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
call edi
push eax
call esi
mov ecx, dword [ebp - 0x2c]
movss xmm1, dword [0x1005b8e8]
add ecx, 0xbf0000
call fcn.1003fb40
mov ecx, 0x400
call fcn.100065c0
test al, al
je 0x1003eb32
push str.Drag_to_adjust
call fcn.10012570
add esp, 4
push str.ATTACK_SPEED
call fcn.1002d5a0
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x41200000
push eax
push 0x1005b8f0
mov ecx, str.AS
call fcn.10030280
add esp, 0x14
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
push str.RanClient.exe
call ebx
test eax, eax
jne 0x1003eb83
xor ecx, ecx
jmp 0x1003eb92
push 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
call edi
push eax
call esi
mov ecx, dword [ebp - 0x2c]
movss xmm1, dword [0x1005b8f0]
add ecx, 0xbf6000
call fcn.1003fb40
mov ecx, 0x400
call fcn.100065c0
test al, al
je 0x1003ebc0
push str.Drag_to_adjust
call fcn.10012570
add esp, 4
call dword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
test eax, eax
jne 0x1003ec35
push 4
call fcn.10041169
mov dword [ebp - 0x18], eax
mov dword [eax], fcn.1003a810
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10040490
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003ec26
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1003ec1e
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x1003ec35
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10040c7b
mov esp, ebp
pop ebp
ret