Function at 0x401180
Capabilities:
Encode data using xor
Hash data using fnv
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a421
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x40f014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x164]
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0x44
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0xf4], xmm0
call fcn.00403040
mov dword [ebp - 4], 0
lea edx, [ebp - 0x164]
cmp dword [ebp - 0x150], 8
cmovae edx, dword [ebp - 0x164]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401233
sub ecx, esi
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
je 0x40125c
nop dword [eax]
cmp word [edx + eax*2], 0x2e
je 0x4012d1
sub eax, 1
jne 0x401250
mov eax, ecx
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00403170
movups xmm0, xmmword [ebp - 0x164]
xor eax, eax
mov word [ebp - 0x164], ax
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 7
mov dword [ebp - 4], 1
mov eax, 0x7ffffffe
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov edx, dword [ebp - 0x54]
sub eax, edx
movups xmmword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0x8c], xmm0
cmp eax, 4
jb 0x401be3
jmp 0x4012d9
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x40125e
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
lea edi, [ebp - 0x110]
cmovae eax, ecx
mov dword [ebp - 0x114], ecx
lea ecx, [edx + 4]
mov dword [ebp - 0xe4], eax
mov esi, 7
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x118], ecx
movups xmmword [ebp - 0x110], xmm0
cmp ecx, esi
jbe 0x4013bd
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x401344
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x401365
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x401be8
add eax, eax
cmp eax, 0x1000
jb 0x401395
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x401bed
push ecx
call fcn.00409317
add esp, 4
test eax, eax
je 0x40144e
mov ecx, dword [ebp - 0x118]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x54]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4013b1
test eax, eax
je 0x4013af
push eax
call fcn.00409317
mov ecx, dword [ebp - 0x118]
add esp, 4
mov edx, dword [ebp - 0x54]
mov edi, eax
jmp 0x4013b1
xor edi, edi
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0xfc], esi
lea esi, [edx + edx]
push esi
push eax
push edi
mov dword [ebp - 0x100], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str..ini]
add esp, 0xc
mov ecx, dword [0x40b694]
mov dword [edi + esi], eax
mov eax, dword [ebp - 0x54]
mov dword [edi + esi + 4], ecx
xor ecx, ecx
mov word [edi + eax*2 + 8], cx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00404670
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x9c]
call fcn.00403580
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xfc]
cmp ecx, 8
jb 0x40145e
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401454
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401454
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409347
add esp, 8
xor eax, eax
mov dword [ebp - 0x100], 0
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 7
push str.TargetEXE
lea ecx, [ebp - 0x134]
mov word [ebp - 0x110], ax
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
call fcn.00402220
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x110]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push 0x40b69c
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
call fcn.00402220
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x9c]
call fcn.00403ce0
lea ecx, [ebp - 0x134]
push ecx
mov ecx, eax
call fcn.00401d20
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401e20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xfc]
cmp ecx, 8
jb 0x401544
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40153a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40157a
push ecx
push edx
call fcn.00409347
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x120]
cmp ecx, 8
jb 0x40158a
mov edx, dword [ebp - 0x134]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401580
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401580
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409347
add esp, 8
xor eax, eax
mov dword [ebp - 0x124], 0
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x120], 7
push str.TargetDLLCount
lea ecx, [ebp - 0x14c]
mov word [ebp - 0x134], ax
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
call fcn.00402220
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x110]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push 0x40b69c
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
call fcn.00402220
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x110]
cmp dword [ebp - 0xfc], 8
mov edx, 0x811c9dc5
mov eax, dword [ebp - 0x100]
cmovae esi, dword [ebp - 0x110]
setae byte [ebp - 0xf5]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x401647
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x401636
push edx
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402ce0
mov edx, dword [ebp - 0x98]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [ebp - 0x98]
je 0x401bf2
lea eax, [ebp - 0x14c]
push eax
lea ecx, [edx + 0x20]
call fcn.00401d20
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x40169c
mov esi, dword [esi]
push 0x10
lea eax, [ebp - 0xe4]
mov dword [edi], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
add esp, 0xc
mov dword [ebp - 0x118], eax
cmp esi, dword [ebp - 0xe4]
jne 0x4016ce
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [edi], 0x22
jne 0x4016de
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
cmp byte [ebp - 0xf5], 0
mov byte [ebp - 4], 0xc
je 0x401722
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x110]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x401718
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401758
push ecx
push edx
call fcn.00409347
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x138]
cmp ecx, 8
jb 0x401768
mov edx, dword [ebp - 0x14c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40175e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40175e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409347
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0xe
xor edi, edi
mov esi, dword [ebp - 0x118]
cmp edi, esi
jae 0x4019e3
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push 0x40b69c
lea ecx, [ebp - 0x110]
mov dword [ebp - 0xfc], 0
movups xmmword [ebp - 0x110], xmm0
call fcn.00402220
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x16]
mov ecx, edi
nop dword [eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x4017e0
push ecx
lea eax, [ebp - 0x16]
push eax
push esi
lea ecx, [ebp - 0x18c]
call fcn.00402990
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x134]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push str.TargetDLLName_
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.00402220
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x114]
lea ecx, [ebp - 0x14c]
call fcn.00402440
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x9c]
call fcn.00403ce0
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, eax
call fcn.00401d20
mov ecx, eax
mov eax, dword [ebp - 0x48]
push ecx
cmp eax, dword [ebp - 0x44]
je 0x4018a9
mov edx, ecx
mov ecx, eax
call fcn.00405880
add esp, 4
add dword [ebp - 0x48], 0x18
jmp 0x4018b2
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402ac0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x138]
cmp ecx, 8
jb 0x4018f6
mov edx, dword [ebp - 0x14c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4018ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019cd
push ecx
push edx
call fcn.00409347
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 7
mov word [ebp - 0x14c], ax
cmp ecx, 8
jb 0x401957
mov edx, dword [ebp - 0x134]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40194d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019cd
push ecx
push edx
call fcn.00409347
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x178]
cmp ecx, 8
jb 0x401997
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40198d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019cd
push ecx
push edx
call fcn.00409347
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xfc]
cmp ecx, 8
jb 0x4019dd
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4019d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409347
add esp, 8
inc edi
jmp 0x401792
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409355
add esp, 4
xor ecx, ecx
mov edi, eax
test esi, esi
je 0x401a28
xor edx, edx
nop dword [eax + eax]
mov eax, dword [ebp - 0x4c]
add eax, edx
cmp dword [eax + 0x14], 0x10
jb 0x401a1d
mov eax, dword [eax]
mov dword [edi + ecx*4], eax
add edx, 0x18
inc ecx
cmp ecx, esi
jb 0x401a10
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0xf4]
push 0
push edi
push esi
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push 0
push eax
call fcn.00407e50
test eax, eax
je 0x401a81
push dword [ebp - 0xf0]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0xf0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xf4]
call esi
jmp 0x401a92
push 0
push 0
push str.DetourCreateProcessWithDll_Failed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00409312
mov ecx, dword [ebp - 0x4c]
add esp, 4
test ecx, ecx
je 0x401b06
mov edx, dword [ebp - 0x48]
push ecx
call fcn.00402320
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x401ae7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b32
push ecx
push esi
call fcn.00409347
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, 8
jb 0x401b42
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409347
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00401c30
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x401ba0
mov edx, dword [ebp - 0x114]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b96
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409347
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409304
mov esp, ebp
pop ebp
ret 0x10
call fcn.00401170
call fcn.004010d0
call fcn.004010d0
push str.INI_File::Get:_INI_File_No_Find_Node
lea ecx, [ebp - 0x174]
call fcn.00402fa0
push 0x40caf4
lea eax, [ebp - 0x174]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3