Function at 0x10001fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039778
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1004d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
jne 0x1000252b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx + eax + 0x28]
add eax, 0x400000
cmp eax, 0x87e926
jne 0x10002129
push 4
call fcn.10017735
mov edx, dword [0x1004ee28]
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x7c], esi
push ecx
mov edi, esp
mov dword [esi], vtable.Game::Carbon.0
mov dword [ecx], 0x10001910
mov ecx, dword fs:[0x2c]
mov eax, dword [0x1004ff7c]
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x7c], ecx
cmp eax, dword [ecx + 4]
jle 0x100020ac
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x100020ac
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [edi], 0x5e6f7b
call fcn.10001500
add esp, 4
mov eax, esp
push ecx
mov ecx, dword [ebp - 0x7c]
mov edi, esp
mov dword [eax], 0x10001940
mov eax, dword [0x1004ff7c]
cmp eax, dword [ecx + 4]
jle 0x1000211e
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x1000211e
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
mov dword [edi], 0x5e6fc6
jmp 0x100024b7
cmp eax, 0x7c4040
jne 0x1000222a
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x1c
movups xmmword [ecx], xmm0
push str.scriptsMostWantedOnline.asi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10001e70
call fcn.10006400
add esp, 0x18
push 4
test al, al
je 0x1000220e
call fcn.10017735
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x78], esi
call fcn.100139e0
mov eax, dword fs:[0x2c]
push ecx
mov ecx, esp
mov dword [esi], vtable.Game::MostWantedOnline.0
push ecx
mov edi, esp
mov dword [ecx], 0x100140b0
mov ecx, dword [0x1004ee28]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1004ff7c]
cmp eax, dword [ecx + 4]
jle 0x100021f3
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x100021f3
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
lea ecx, [ebp - 0x78]
mov dword [edi], 0x58ca55
call fcn.10013820
add esp, 8
call fcn.10013a80
jmp 0x100024c2
call fcn.10017735
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, eax
call fcn.100139e0
mov dword [0x1004f5e4], eax
jmp 0x100024c8
cmp eax, 0x8aec55
je 0x10002431
cmp eax, 0x14082ed
je 0x10002431
cmp eax, 0x75bcc7
jne 0x100022d6
push 4
call fcn.10017735
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x78], esi
mov edx, dword [0x1004ee28]
push ecx
mov dword [esi], vtable.Game::Underground2.0
mov edi, esp
mov dword [ecx], 0x10015100
mov ecx, dword fs:[0x2c]
mov eax, dword [0x1004ff7c]
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 4]
jle 0x100022cb
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x100022cb
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
mov dword [edi], 0x600595
jmp 0x100024b7
cmp eax, 0x670cb5
jne 0x1000236c
push 4
call fcn.10017735
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x78], esi
mov edx, dword [0x1004ee28]
push ecx
mov dword [esi], vtable.Game::Underground.0
mov edi, esp
mov dword [ecx], 0x10014be0
mov ecx, dword fs:[0x2c]
mov eax, dword [0x1004ff7c]
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 4]
jle 0x10002361
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x10002361
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
mov dword [edi], 0x430dbd
jmp 0x100024b7
cmp eax, 0x828c25
je 0x100023a6
cmp eax, 0x1aaa080
je 0x100023a6
push eax
lea eax, [ebp - 0x74]
push str.This_.exe_is_not_supported._Ptr_x
push eax
call fcn.10001f70
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x10
push str.Custom_HUD
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x10002530
push 4
call fcn.10017735
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x78], esi
mov edx, dword [0x1004ee28]
push ecx
mov dword [esi], vtable.Game::ProStreet.0
mov edi, esp
mov dword [ecx], 0x100141d0
mov ecx, dword fs:[0x2c]
mov eax, dword [0x1004ff7c]
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 4]
jle 0x10002426
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x10002426
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
mov dword [edi], 0x61ddc3
jmp 0x100024b7
push 4
call fcn.10017735
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x78], esi
mov edx, dword [0x1004ee28]
push ecx
mov dword [esi], vtable.Game::Undercover.0
mov edi, esp
mov dword [ecx], 0x100146b0
mov ecx, dword fs:[0x2c]
mov eax, dword [0x1004ff7c]
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 4]
jle 0x100024b1
push 0x1004ff7c
call fcn.1001765f
add esp, 4
cmp dword [0x1004ff7c], 0xffffffff
jne 0x100024b1
mov dword [0x1004ff70], str.Unknown_Plugin_Name
mov dword [0x1004ff78], 0
mov dword [0x1004ff74], 0
call fcn.100015c0
push 0x1004ff7c
call fcn.10017615
add esp, 4
mov dword [edi], 0x5d5113
lea ecx, [ebp - 0x78]
call fcn.10001500
add esp, 8
mov dword [0x1004f5e4], esi
call fcn.100069a0
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 4
call fcn.10017735
mov dword [ebp - 0x78], eax
mov dword [eax], 0x10001fc0
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10002590
push 0
push 0
call fcn.1001c55c
add esp, 0x1c
mov dword [ebp - 0x84], eax
test eax, eax
je 0x1000255a
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x1000254d
push ecx
push eax
call fcn.1001689d
add esp, 8
test eax, eax
jne 0x10002554
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017542
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.100167b8
push eax
call fcn.1001678b
push 6
mov dword [ebp - 0x80], 0
call fcn.100167b8
int3