Function at 0x3458532aa
Capabilities:
Extract resource via kernel32 functions
Get geographical location

Disassembly:
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3fc], 0
call fcn.3458531da
mov dword [rbp + 0x3fc], eax
cmp dword [rbp + 0x3fc], 0
js 0x3458538b3
mov ecx, 0x1388
call fcn.3458521de
lea rdx, [rbp + 0x3c0]
mov eax, 0
mov ecx, 7
mov rdi, rdx
rep stosq qword [rdi], rax
lea rdx, [rbp + 0x380]
mov eax, 0
mov ecx, 8
mov rdi, rdx
rep stosq qword [rdi], rax
lea rdx, [rbp + 0x350]
mov eax, 0
mov ecx, 5
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov word [rdx], ax
add rdx, 2
lea rax, [rbp + 0xb0]
mov edx, 0x298
mov r8, rdx
mov edx, 0
mov rcx, rax
call fcn.345851370
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rsp + 0x28], 0x1b
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
lea r9, [0x3465d7320]
lea r8, [0x3465d7300]
mov edx, 0x20
lea rax, [0x345855140]
mov rcx, rax
call fcn.345854c00
mov qword [rsp + 0x28], 0x1f
lea rax, [rbp + 0x380]
mov qword [rsp + 0x20], rax
lea r9, [0x3465d7380]
lea r8, [0x3465d7360]
mov edx, 0x20
lea rax, [0x345855160]
mov rcx, rax
call fcn.345854c00
mov qword [rsp + 0x28], 0x14
lea rax, [rbp + 0x350]
mov qword [rsp + 0x20], rax
lea r9, [0x3465d73e0]
lea r8, [0x3465d73c0]
mov edx, 0x20
lea rax, [0x345855180]
mov rcx, rax
call fcn.345854c00
mov qword [rsp + 0x28], 0x14b
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x3465d7440]
lea r8, [0x3465d7420]
mov edx, 0x150
lea rax, [0x3458551a0]
mov rcx, rax
call fcn.345854c00
lea rdx, [rbp + 0x3c0]
lea rax, [rbp + 0xa0]
mov r9d, 0
mov r8d, 0x1b
mov rcx, rax
call fcn.345852212
lea rdx, [rbp + 0x380]
lea rax, [rbp + 0x90]
mov r9d, 0
mov r8d, 0x1f
mov rcx, rax
call fcn.345852212
lea rdx, [rbp + 0x350]
lea rax, [rbp + 0x80]
mov r9d, 1
mov r8d, 0x14
mov rcx, rax
call fcn.345852212
lea rdx, [rbp + 0xb0]
lea rax, [rbp + 0x70]
mov r9d, 0
mov r8d, 0x14b
mov rcx, rax
call fcn.345852212
lea r8, [rbp + 0x70]
lea rcx, [rbp + 0x80]
lea rdx, [rbp + 0x90]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.34585249b
mov dword [rbp + 0x3fc], eax
mov ecx, 0xbb8
call fcn.3458521de
lea rax, [rbp + 0xa0]
mov rcx, rax
call fcn.3458522da
lea rax, [rbp + 0x90]
mov rcx, rax
call fcn.3458522da
lea rax, [rbp + 0x70]
mov rcx, rax
call fcn.3458522da
lea rdx, [rbp + 0x20]
mov eax, 0
mov ecx, 8
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov word [rdx], ax
add rdx, 2
lea rdx, [rbp - 0x30]
mov eax, 0
mov ecx, 9
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov word [rdx], ax
add rdx, 2
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], 0
mov qword [rsp + 0x28], 0x20
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [0x3465d7260]
lea r8, [0x3465d7240]
mov edx, 0x20
lea rax, [0x3458550e0]
mov rcx, rax
call fcn.345854c00
mov qword [rsp + 0x28], 0x24
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x3465d72c0]
lea r8, [0x3465d72a0]
mov edx, 0x30
lea rax, [0x345855100]
mov rcx, rax
call fcn.345854c00
lea rdx, [rbp + 0x20]
lea rax, [rbp - 0x40]
mov r9d, 0
mov r8d, 0x20
mov rcx, rax
call fcn.345852212
lea rdx, [rbp - 0x30]
lea rax, [rbp - 0x50]
mov r9d, 0
mov r8d, 0x24
mov rcx, rax
call fcn.345852212
lea r9, [0x3465d74e0]
lea r8, [0x3465d74c0]
mov edx, 0xd81400
lea rax, [0x345855420]
mov rcx, rax
call fcn.345854b80
lea rax, [rbp - 0x50]
mov r8d, 0xd81400
lea rdx, [0x345855420]
mov rcx, rax
call fcn.34585234b
mov dword [rbp + 0x3fc], eax
cmp dword [rbp + 0x3fc], 0
js 0x3458536d3
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.345852cd2
mov ecx, 0x3e8
call fcn.3458521de
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.3458522da
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.3458522da
movzx eax, byte [0x34b077050]
xor eax, 1
test al, al
je 0x3458538b4
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_IsDialogMessageW]
call rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
call rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_RegisterClassW]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov r9d, 0
mov r8d, 0
lea rax, [0x34b073ce4]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_IsWindowVisible]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetWindowContextHelpId]
call rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetWindowLongPtrW]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov r8d, 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceW]
call rax
mov byte [rbp + 0x40f], 0
mov qword [rbp + 0x400], 0
jmp 0x345853895
lea rdx, [0x3465d7500]
mov rax, qword [rbp + 0x400]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp + 0x40f], al
add qword [rbp + 0x400], 1
cmp qword [rbp + 0x400], 0x4a9c7e2
jbe 0x345853873
movzx eax, byte [rbp + 0x40f]
mov rcx, rax
call fcn.3458521de
jmp 0x3458538b4
nop
add rsp, 0x498
pop rdi
pop rbp
ret