Function at 0x414770
Capabilities:
Enumerate process modules
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
xor r14d, r14d
cmp qword [0x004ee5f0], r14
je 0x414c07
mov rcx, qword [0x004e30d8]
lea r8, str.Modules_____:
mov r12d, 0x100000
mov dword [0x004ee5f8], r14d
mov edx, r12d
call fcn.0042e7e4
call qword [sym.imp.dbghelp.dll_SymGetOptions]
or eax, 0x206
mov ecx, eax
call qword [sym.imp.dbghelp.dll_SymSetOptions]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [0x00493bcc]
mov rcx, rax
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
je 0x414c07
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
or r15, 0xffffffffffffffff
mov rdi, rax
cmp rax, r15
je 0x414c07
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x434
mov sil, 1
call fcn.00424830
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x438
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x414bf6
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x4b0]
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x190]
mov dword [rsp + 0x28], 0x104
mov r9d, r15d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x41489a
jne 0x414893
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x414893
mov byte [rbp + 0x5b3], r14b
jmp 0x41489a
mov byte [rbp + 0x4b0], r14b
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_CharLowerW]
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x70]
mov dword [rsp + 0x28], 0x104
mov r9d, r15d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x4148f7
jne 0x4148f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4148f0
mov byte [rbp + 0x4a3], r14b
jmp 0x4148f7
mov byte [rbp + 0x3a0], r14b
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_CharLowerW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp + 0x3a0]
xor edx, edx
mov rcx, rax
lea r8, [rbp + 0x4b0]
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.dbghelp.dll_SymLoadModule64]
test rax, rax
je 0x414bfe
mov rdx, qword [0x004ee5f0]
test rdx, rdx
je 0x414bfe
mov r8d, dword [0x004ee5f8]
cmp r8d, 0x100
jae 0x414bfe
imul rcx, r8, 0x220
add rcx, rdx
je 0x41498c
mov r9, r15
lea r8, [rbp + 0x190]
mov edx, 0x100
call fcn.00435528
mov r8d, dword [0x004ee5f8]
mov rdx, qword [0x004ee5f0]
mov ecx, r8d
imul rax, rcx, 0x220
mov qword [rax + rdx + 0x200], rcx
mov eax, dword [0x004ee5f8]
mov rcx, qword [rsp + 0x78]
imul rdx, rax, 0x220
mov rax, qword [0x004ee5f0]
mov qword [rdx + rax + 0x208], rcx
mov eax, dword [0x004ee5f8]
mov edx, dword [rbp - 0x80]
add rdx, qword [rsp + 0x78]
imul rcx, rax, 0x220
mov rax, qword [0x004ee5f0]
mov qword [rcx + rax + 0x210], rdx
mov eax, dword [0x004ee5f8]
mov rcx, qword [0x004ee5f0]
imul rdx, rax, 0x220
mov rax, qword [rdx + rcx + 0x208]
mov qword [rdx + rcx + 0x218], rax
test sil, sil
jne 0x414a24
mov rcx, qword [0x004e30d8]
lea r8, str.____________:
mov rdx, r12
call fcn.0042e7e4
jmp 0x414a27
mov sil, r14b
lea rdx, [rbp + 0x810]
mov dword [rbp + 0x810], r14d
lea rcx, [rbp - 0x70]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x414b87
cmp ebx, dword [0x004ee608]
jbe 0x414aa6
mov rcx, qword [0x004ee600]
test rcx, rcx
je 0x414a72
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x004ee600], r14
xor ecx, ecx
mov dword [0x004ee608], r14d
mov rdx, rbx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x004ee600], rax
test rax, rax
je 0x414b87
mov dword [0x004ee608], ebx
jmp 0x414aad
mov rax, qword [0x004ee600]
mov r9, rax
mov qword [rbp + 0x820], r14
mov r8d, ebx
mov dword [rbp + 0x818], r14d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x414b87
mov rcx, qword [0x004ee600]
lea r9, [rbp + 0x818]
lea r8, [rbp + 0x820]
lea rdx, [0x0048d7c4]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x414b87
mov rax, qword [rbp + 0x820]
test rax, rax
je 0x414b87
mov r10d, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
test r10d, r10d
je 0x414b87
test r9d, r9d
je 0x414b87
mov eax, dword [0x004ee5f8]
movzx r8d, r9w
mov dword [rsp + 0x50], r8d
mov r8, r15
imul rcx, rax, 0x220
mov eax, dword [rbp - 0x80]
add rcx, qword [0x004ee5f0]
movzx edx, r10w
shr r9d, 0x10
mov dword [rsp + 0x48], r9d
lea r9, str.__.16I64X__.8X__s___u._u._u._u__r_n
mov dword [rsp + 0x40], edx
mov edx, 0x103
shr r10d, 0x10
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x5c0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.004020a8
jmp 0x414bcc
mov eax, dword [0x004ee5f8]
lea r9, str.__.16I64X__.8X__s_r_n
imul rcx, rax, 0x220
mov eax, dword [rbp - 0x80]
mov r8, r15
add rcx, qword [0x004ee5f0]
mov edx, 0x103
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x5c0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.004020a8
mov rcx, qword [0x004e30d8]
lea r8, [rbp + 0x5c0]
mov rdx, r12
call fcn.0042e7e4
inc dword [0x004ee5f8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x414847
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x8d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret