Function at 0x180049cc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea r13d, [r9 + 0x519]
mov edi, r9d
mov r12, rdx
mov r14, rcx
cmp r9d, r13d
jae case.0x180049d44.28
mov rsi, qword [rsp + 0xb0]
lea rdx, [0x180000000]
mov r15, qword [rsp + 0x40]
mov ebx, 1
mov ebp, dword [rsp + 0xa8]
cmp edi, 0x117
ja 0x180049e05
je 0x180049da7
lea eax, [rdi - 0x17]
cmp eax, 0xf3
ja case.0x180049d44.30
movzx eax, byte [rdx + rax + 0x4a068]
mov ecx, dword [rdx + rax*4 + 0x4a048]
add rcx, rdx
jmp rcx
cmp dword [r14], 0xbab107
jne case.0x180049d44.30
mov eax, dword [r14 + 0x6c]
mov dword [rsp + 0x40], eax
jmp case.0x180049d44.28
mov dword [rsp + 0x40], 0
jmp case.0x180049d44.30
mov rax, qword [r14]
test dword [rax + 0x10], 0x40000
je case.0x180049d44.28
jmp case.0x180049d44.30
mov rax, qword [r14]
lea r15, str.AddFeature
xor ebp, ebp
cmp dword [rax], 0x7f2bb70d
je case.0x180049d44.30
mov dword [rsp + 0x40], 0x7f2bb70d
jmp case.0x180049d44.28
mov eax, 0xe0
nop dword [rax]
cmp eax, 0xe0
je 0x180049fac
add eax, 0x9140
cmp eax, 0x9140
jbe 0x180049db0
cmp qword [0x1800dbfd0], 0
jne case.0x180049d44.30
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
xor edx, edx
mov ecx, 0x84
call fcn.18008af30
mov qword [0x1800dbfd0], rax
jmp 0x180049f80
cmp edi, 0x266
ja 0x180049f04
je 0x180049ed7
mov eax, edi
sub eax, 0x161
je 0x180049e8f
sub eax, 0x57
je 0x180049e40
cmp eax, 0x57
jne case.0x180049d44.30
xorps xmm0, xmm0
mov byte [0x1800e170f], 0
movups xmmword [rsi], xmm0
jmp case.0x180049d44.30
movdqa xmm0, xmmword [str._b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b]
movq rax, xmm0
mov byte [0x1800e16bf], 0
mov qword [0x1800e1700], rax
mov dword [0x1800e1708], eax
mov word [0x1800e170c], ax
mov byte [0x1800e170e], al
movups xmmword [0x1800e16c0], xmm0
movups xmmword [0x1800e16d0], xmm0
movups xmmword [0x1800e16e0], xmm0
movups xmmword [0x1800e16f0], xmm0
jmp case.0x180049d44.30
movdqa xmm0, xmmword [0x1800d3fa0]
movq rax, xmm0
mov qword [0x1800e16b0], rax
mov dword [0x1800e16b8], eax
mov word [0x1800e16bc], ax
mov byte [0x1800e16be], al
movups xmmword [0x1800e1670], xmm0
movups xmmword [0x1800e1680], xmm0
movups xmmword [0x1800e1690], xmm0
movups xmmword [0x1800e16a0], xmm0
jmp case.0x180049d44.30
lea rcx, str.HTML_TYPE_TEL_EXTENSION
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rsp + 0xa0]
lea rdx, [0x180000000]
test rax, rax
je case.0x180049d44.30
inc dword [rsi + 0xc]
jmp case.0x180049d44.30
mov eax, edi
sub eax, 0x2bd
je 0x180049f50
sub eax, 0x57
je 0x180049f24
cmp eax, 0x57
jne case.0x180049d44.30
mov qword [0x1800e1710], 0
jmp case.0x180049d44.30
test r12, r12
je case.0x180049d44.30
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x180049f80
mov rax, qword [r8]
xor r9d, r9d
mov qword [rsi], rax
xor edx, edx
mov eax, dword [r8]
xor ecx, ecx
mov dword [rsp + 0xa8], eax
lea rax, [rsp + 0xa8]
lea r8d, [r9 + 0x6e]
mov qword [rsp + 0x20], rax
call fcn.18009b770
mov dword [rsi + 8], eax
mov r8, qword [rsp + 0xa0]
lea rdx, [0x180000000]
add edi, 0x57
cmp edi, r13d
jb 0x180049d12
jmp case.0x180049d44.28
mov rax, qword [0x1800dbfd0]
jmp 0x18004a02e
mov rax, qword [r14]
mov edx, dword [rax + 0x18]
cmp edx, dword [rax + 0x1c]
jbe 0x180049fd3
mov r8, r15
lea rdx, str.VPALIGNRZ256rrikz
mov rcx, rsi
call fcn.1800c02b0
mov dword [rsp + 0x40], 0x7f2bb747
jmp case.0x180049d44.28
cmp edx, ebx
jbe 0x18004a025
nop word [rax + rax]
mov rcx, qword [rax + 0x28]
lea r9d, [rbx - 1]
mov eax, ebx
mov edx, dword [rcx + r9*8]
mov r8d, dword [rcx + rax*8]
cmp edx, r8d
jb 0x18004a01b
mov dword [rsp + 0x30], r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov r8, r15
mov dword [rsp + 0x20], edx
lea rdx, str.Defineix_el_nom_del_fitxer_de_sortida
call fcn.1800c02b0
mov ebp, 0x7f2bb747
mov rax, qword [r14]
inc ebx
cmp ebx, dword [rax + 0x18]
jb 0x180049fe0
mov dword [rsp + 0x40], ebp
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret