Function at 0x1800337b0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4c0
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov byte [rsp + 0x474], 0
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x480], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x470], 0
mov qword [rsp + 0x478], 0
mov qword [rsp + 0x488], 0
mov qword [rsp + 0x260], 0
xor eax, eax
mov word [rsp + 0x270], ax
lea rdi, [rsp + 0x272]
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
cmp qword [rsp + 0x4d8], 0
jne 0x180033875
jmp 0x180033b31
mov r8, qword [rsp + 0x4d0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.18003c9d4
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x480], eax
cmp dword [rsp + 0x480], 0
jne 0x1800338c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x490], eax
jmp 0x180033b31
mov edx, dword [rsp + 0x480]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800338ec
jmp 0x180033b31
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18003390e
jmp 0x180033b31
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x480]
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x180033937
jmp 0x180033b31
lea r9, [rsp + 0x470]
lea r8, [rsp + 0x488]
lea rdx, [0x1800a2118]
mov rcx, qword [rsp + 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x180033973
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x494], eax
jmp 0x180033b31
mov rax, qword [rsp + 0x488]
mov eax, dword [rax]
shr rax, 0x10
and rax, 0xffff
movzx r9d, ax
mov rax, qword [rsp + 0x488]
mov eax, dword [rax]
and rax, 0xffff
movzx r8d, ax
lea rdx, [0x1800a2150]
lea rcx, [rsp + 0x270]
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [rsp + 0x470], 0
mov qword [rsp + 0x478], 0
lea r9, [rsp + 0x470]
lea r8, [rsp + 0x478]
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1800339fb
jmp 0x180033b31
cmp qword [rsp + 0x478], 0
jne 0x180033a10
jmp 0x180033b31
mov rax, qword [rsp + 0x478]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x498], 0
jmp 0x180033a3b
mov eax, dword [rsp + 0x498]
add eax, 1
mov dword [rsp + 0x498], eax
cmp dword [rsp + 0x498], 3
jge 0x180033af6
mov rcx, qword [rsp + 0x20]
call fcn.18003db04
cdqe
mov qword [rsp + 0x4a8], rax
mov eax, 3
sub eax, dword [rsp + 0x498]
imul eax, eax, 0x10
movzx ecx, al
mov rax, qword [rsp + 0x4a8]
shl rax, cl
mov rcx, rax
mov rax, qword [rsp + 0x260]
add rax, rcx
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x4a0], rax
lea rdx, [0x1800a2114]
mov rcx, qword [rsp + 0x4a0]
call fcn.18001fe70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180033ad7
lea rdx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x4a0]
call fcn.18001fe70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180033ae3
jmp 0x180033b31
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
jmp 0x180033a2a
mov rcx, qword [rsp + 0x20]
call fcn.18003db04
movsxd rcx, eax
mov rax, qword [rsp + 0x260]
add rax, rcx
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [rsp + 0x260]
mov qword [rcx], rax
mov byte [rsp + 0x474], 1
cmp qword [rsp + 0x28], 0
je 0x180033b58
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x28], 0
mov al, byte [rsp + 0x474]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x4c0
pop rdi
ret