Function at 0x403250
Capabilities:
Create directory
Enumerate files on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b38d
mov eax, dword fs:[0]
push eax
sub esp, 0x938
mov eax, dword [0x410008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.._DLLs_
lea ecx, [ebp - 0x254]
call fcn.00404cb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 8
push 0
cmovae eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x240]
mov eax, ecx
mov edi, dword [ebp - 0x244]
sub eax, edi
cmp eax, 5
jb 0x4032fb
cmp ecx, 8
lea esi, [ebp - 0x254]
lea eax, [edi + 5]
cmovae esi, dword [ebp - 0x254]
push 0xa
mov dword [ebp - 0x244], eax
push str..dll
lea eax, [esi + edi*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0xa], ax
jmp 0x403318
push 5
push ecx
mov byte [ebp - 0x920], 0
lea ecx, [ebp - 0x254]
push dword [ebp - 0x920]
push 5
call fcn.00404ab0
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x4ec]
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
mov esi, eax
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x920], esi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x4036c8
test byte [ebp - 0x4ec], 0x10
jne 0x4036b2
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x944]
call fcn.00404cb0
mov edi, eax
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 7
jb 0x403455
mov dword [ebp - 0x92c], edi
lea eax, [ecx + 7]
mov dword [edi + 0x10], eax
mov edx, edi
cmp esi, 8
jb 0x4033d5
mov edx, dword [edi]
mov dword [ebp - 0x92c], edx
lea eax, [ecx + ecx]
mov dword [ebp - 0x924], eax
cmp edx, 0x40c4d6
jae 0x403407
add eax, edx
cmp eax, str.._DLLs_
jb 0x403407
cmp edx, str.._DLLs_
ja 0x4033fb
xor esi, esi
jmp 0x40340c
mov esi, edx
sub esi, str.._DLLs_
sar esi, 1
jmp 0x40340c
mov esi, 7
mov eax, dword [ebp - 0x924]
lea ecx, [edx + 0xe]
add eax, 2
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
add esi, esi
push esi
push str.._DLLs_
push dword [ebp - 0x92c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x92c]
mov eax, 0xe
sub eax, esi
add ecx, esi
push eax
lea eax, [esi + 0x40c4d6]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
jmp 0x403472
push 7
sub esp, 8
mov byte [ebp - 0x928], 0
mov ecx, edi
push dword [ebp - 0x928]
push 7
call fcn.00404630
mov edi, eax
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
xor eax, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x930]
cmp ecx, 8
jb 0x4034fe
mov edx, dword [ebp - 0x944]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4034f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a87
push ecx
push edx
call fcn.0040a49c
add esp, 8
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x6f4]
push 0
push ecx
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x28c], 0
xor eax, eax
mov dword [ebp - 0x288], 7
movups xmmword [ebp - 0x29c], xmm0
mov word [ebp - 0x29c], ax
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
lea ecx, [ebp - 0x6f4]
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403580
sub ecx, edx
lea eax, [ebp - 0x6f4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.00403c90
lea ecx, [ebp - 0x4c0]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4035b0
sub ecx, edx
lea eax, [ebp - 0x4c0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x284]
call fcn.00403c90
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x29c]
push eax
cmp esi, dword [ebp - 0x21c]
je 0x403614
mov ecx, esi
mov dword [ebp - 0x924], esi
call fcn.00404810
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x18]
call fcn.00404810
mov byte [ebp - 4], 5
add dword [ebp - 0x220], 0x30
jmp 0x403620
push esi
lea ecx, [ebp - 0x224]
call fcn.004043f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Full:
call fcn.00403df0
lea edx, [ebp - 0x6f4]
mov ecx, eax
call fcn.004040d0
mov edx, 0x40c4e4
mov ecx, eax
call fcn.00403df0
lea eax, [ebp - 0x4c0]
push eax
push 0x40c4f0
call fcn.00404c70
add esp, 8
lea ecx, [ebp - 0x29c]
call fcn.00403ac0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
cmp ecx, 8
jb 0x4036ac
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4036a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a87
push ecx
push edx
call fcn.0040a49c
add esp, 8
mov esi, dword [ebp - 0x920]
lea eax, [ebp - 0x4ec]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403382
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x40c4f8
push 0
push str.OverwriteLoadedDLL
push 0x40c518
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.engine.exe
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x928], eax
call fcn.00404cb0
push str.._LSI.txt
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
push str.engine.exe
push str.ProcessName
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x403755
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403733
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.00403c90
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x920], eax
cmp esi, eax
je 0x403964
lea edi, [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 8
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4037b3
mov edx, dword [edi]
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x928]
lea ecx, [ebp - 0x26c]
cmovae ecx, dword [ebp - 0x26c]
call fcn.0040a0b0
add esp, 8
test eax, eax
jne 0x40381c
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
mov ecx, edi
cmovae eax, dword [ebp - 0x26c]
cmp dword [edi + 0x14], 8
jb 0x4037fe
mov ecx, dword [edi]
push ecx
push eax
push str._s_process_without__s_module_not_found_n
call fcn.00404c70
mov byte [ebp - 4], 7
add esp, 0xc
mov edx, dword [ebp - 0x230]
jmp 0x4038f7
mov edx, dword [ebp - 0x230]
mov esi, edx
mov dword [ebp - 0x924], edx
cmp esi, dword [ebp - 0x22c]
je 0x4038f3
nop word [eax + eax]
cmp dword [edi - 4], 8
mov eax, dword [esi]
mov dword [ebp - 0x504], eax
lea eax, [edi - 0x18]
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f8], 0
jb 0x40387b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x918]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x91c]
push eax
call sym.LSI.exe_InjectW
push dword [ebp - 0x91c]
push dword [ebp - 0x4f0]
test eax, eax
je 0x4038c2
push eax
push dword [ebp - 0x504]
lea eax, [ebp - 0x918]
push eax
push str.couldnt_inject__s_into_pid:_d_ret:_d_hDllOut:_d_lastError:_d_n
jmp 0x4038d6
push 0
push dword [ebp - 0x504]
lea eax, [ebp - 0x918]
push eax
push str.successfully_injected__s_into_into_pid:_d_ret:_d_hDllOut:_d_lastError:_d_n
call fcn.00404c70
add esi, 4
add esp, 0x18
cmp esi, dword [ebp - 0x22c]
jne 0x403840
mov edx, dword [ebp - 0x924]
mov byte [ebp - 4], 7
test edx, edx
je 0x40394c
mov ecx, dword [ebp - 0x228]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x403924
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a87
push ecx
push edx
call fcn.0040a49c
mov dword [ebp - 0x228], 0
add esp, 8
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
add edi, 0x30
lea eax, [edi - 0x18]
cmp eax, dword [ebp - 0x920]
jne 0x403772
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x258]
cmp ecx, 8
jb 0x4039aa
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40399a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a87
push ecx
push edx
call fcn.0040a49c
mov esi, dword [ebp - 0x224]
add esp, 8
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
test esi, esi
je 0x403a55
mov edi, dword [ebp - 0x220]
cmp esi, edi
je 0x4039f4
nop dword [eax]
mov ecx, esi
call fcn.00403ac0
add esi, 0x30
cmp esi, edi
jne 0x4039e0
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x403a2d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a87
push ecx
push esi
call fcn.0040a49c
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x240]
cmp ecx, 8
jb 0x403a97
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403a8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403a8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040a49c
add esp, 8
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.0040a480
mov esp, ebp
pop ebp
ret