Function at 0x140009010
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x650]
sub rsp, 0x750
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x640], rax
movzx eax, word [0x140045278]
movups xmm0, xmmword [str.strings]
movups xmm1, xmmword [str.HP_Mombi_Driver_Name]
mov word [rbp + 0x1e0], ax
movzx eax, word [0x1400452b0]
xor r13d, r13d
mov word [rbp + 0x218], ax
xor eax, eax
lea rcx, [rbp + 0x190]
movups xmmword [rbp + 0x1a8], xmm0
movups xmm0, xmmword [0x140045260]
movups xmmword [rbp + 0x1b8], xmm1
movzx r12d, r9b
mov rdi, r8
mov rbx, rdx
xor r14b, r14b
mov word [rsp + 0x30], r13w
mov dword [rbp + 0x190], reloc.WS2_32.dll_WSAStartup
movsd xmm1, qword [0x140045270]
movups xmmword [rbp + 0x1c8], xmm0
movups xmm0, xmmword [str.HP_Mombi_Driver_Name_Ver]
mov qword [rbp + 0x194], rax
mov qword [rbp + 0x19c], rax
lea r15d, [r13 + 0x5c]
movups xmmword [rbp + 0x1e8], xmm0
movups xmm0, xmmword [0x1400452a0]
movsd qword [rbp + 0x1d8], xmm1
movups xmm1, xmmword [0x140045290]
movups xmmword [rbp + 0x208], xmm0
movups xmmword [rbp + 0x1f8], xmm1
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rbp + 0x190]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140009110
cmp rax, 2
mov rcx, rbx
cmove r15w, word [rbp + 0x192]
movzx edx, r15w
call fcn.140024180
test rax, rax
je 0x14000931d
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x250
mov qword [rsp + 0x790], rsi
mov word [rax + 2], r13w
call fcn.140027190
lea rcx, [rbx - 2]
nop
cmp word [rcx + 2], r13w
lea rcx, [rcx + 2]
jne 0x140009160
movsd xmm0, qword [str..inf]
lea rdx, [rsp + 0x40]
movsd qword [rcx], xmm0
mov eax, dword [0x1400452c0]
mov dword [rcx + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400092ef
nop dword [rax + rax]
lea rcx, [rsp + 0x6c]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1400091b0
test rax, rax
je 0x14000929c
movzx edx, r15w
mov rcx, rbx
call fcn.140024180
test rax, rax
je 0x14000929c
lea r8, [rsp + 0x6c]
mov edx, 0x410
mov rcx, rbx
mov word [rax + 2], r13w
call fcn.140024458
lea rcx, [rbp + 0x222]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x220], r13w
call fcn.140027190
lea rcx, [rbp + 0x432]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x430], r13w
call fcn.140027190
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x1a8]
test r12b, r12b
je 0x140009284
lea r9, [rbp + 0x430]
lea rdx, [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x14000929c
lea rax, [rbp + 0x430]
mov r14b, 1
lea rcx, [rbp + 0x430]
sub rdi, rax
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdi + rcx - 2], ax
test ax, ax
jne 0x140009271
jmp 0x1400092e1
lea r9, [rbp + 0x220]
lea rdx, [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1400092b4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400091a0
jmp 0x1400092e1
lea rax, [rbp + 0x220]
mov r14b, 1
lea rdx, [rbp + 0x220]
sub rdi, rax
nop dword [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
mov word [rdi + rdx - 2], cx
test cx, cx
jne 0x1400092d0
test rsi, rsi
je 0x1400092ef
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x790]
movzx eax, r14b
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.140023790
add rsp, 0x750
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
movzx eax, r14b
jmp 0x1400092fb