Function at 0x1800bb850
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x860
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
test rcx, rcx
jne 0x1800bb89a
lea eax, [rcx + 1]
jmp 0x1800bbe3d
lea r13, [0x180152644]
xor r12d, r12d
cmp dword [0x180221ea4], r12d
je 0x1800bb968
lea r8d, [r12 + 1]
lea rdx, str.EdpBigData.ini
lea rcx, [rsp + 0x40]
call fcn.18001f690
nop
cmp qword [rax + 0x20], 0x10
jb 0x1800bb8d5
mov r9, qword [rax + 8]
jmp 0x1800bb8d9
lea r9, [rax + 8]
mov r8d, 1
lea rdx, str.CustomName
lea rcx, str.CUSTOMERS
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
cmp qword [rsp + 0x60], 0x10
jb 0x1800bb907
mov rcx, qword [rsp + 0x48]
call fcn.1800f4b9c
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
cmp ebx, 2
jne 0x1800bb968
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
xor r8d, r8d
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.180003700
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, r13
mov rdx, rsi
lea ecx, [rbx + 1]
call fcn.1800a33e0
mov rcx, rsi
call fcn.1800676d0
mov edi, eax
mov rcx, rsi
call fcn.1800679d0
cmp dword [0x1801e68d0], 0
je 0x1800bbe38
test eax, eax
jne 0x1800bbe38
mov byte [rsp + 0x80], al
xor edx, edx
mov r8d, 0x7cf
lea rcx, [rsp + 0x81]
call fcn.1800f4fb0
mov ebx, r12d
cmp byte [0x1801f5205], 0x44
je 0x1800bb9c0
cmp byte [0x1801f4bda], 0x44
jne 0x1800bb9c5
mov ebx, 1
lea r15, str.MyCopyFileA_FileProtectMainPolicy.DisableNetFile0
cmp dword [0x1801f520c], 0
je 0x1800bbbb5
mov rdx, rsi
lea rcx, [0x1801f5210]
call fcn.180067220
test eax, eax
je 0x1800bbaff
mov rcx, rsi
call fcn.180062d80
test eax, eax
jne 0x1800bbaff
test ebx, ebx
je 0x1800bbaac
test edi, edi
jne 0x1800bbaac
call fcn.1800629f0
test eax, eax
je 0x1800bbaac
lea rdx, [0x1801514d0]
lea ecx, [rdi + 7]
call fcn.180001000
mov rbx, rax
lea rdx, [0x180151218]
mov ecx, 0x43e
call fcn.180001000
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1801e66d0]
mov r8d, dword [0x1801e66cc]
lea rdx, str.kind608__policyid_d__policyname_s__context_s___s_._s
lea rcx, [rsp + 0x80]
call fcn.1800f509c
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
mov r8d, dword [0x1801f5414]
mov edx, dword [0x1801f5410]
lea rcx, [0x180161c7c]
call fcn.18008e860
call fcn.1800629a0
test eax, eax
je 0x1800bbbb5
lea rdx, [0x1801668f8]
mov ecx, 0x434
call fcn.180001000
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x10
mov r9d, 3
xor r8d, r8d
xor edx, edx
lea rcx, [0x1801554c0]
call fcn.18008e860
xor eax, eax
jmp 0x1800bbe3d
test ebx, ebx
je 0x1800bbbb5
mov rdx, rsi
lea rcx, [0x1801f5210]
call fcn.180067220
test eax, eax
je 0x1800bbbb5
test edi, edi
jne 0x1800bbbb5
lea rdx, [0x180151500]
lea ecx, [rdi + 2]
call fcn.180001000
mov rbx, rax
lea rdx, [0x1801511f8]
mov ecx, 0x43f
call fcn.180001000
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1801e66d0]
mov r8d, dword [0x1801e66cc]
lea rdx, str.kind607__policyid_d__policyname_s__context_s___s___s
lea rcx, [rsp + 0x80]
call fcn.1800f509c
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
mov r8d, dword [0x1801f5414]
mov edx, dword [0x1801f5410]
lea rcx, [0x180161c7c]
call fcn.18008e860
mov rcx, rsi
call fcn.180083ee0
cmp eax, 0xffffffff
je 0x1800bbe38
movsxd rbx, eax
mov rax, rbx
imul rax, rax, 0x64
lea r14, [0x1801e1be0]
lea rbp, [rax + r14 + 0xb28c]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.18008f400
test eax, eax
je 0x1800bbe38
imul rbx, rbx, 0x208
cmp byte [rbx + r14 + 0x4cfe], 0x44
jne 0x1800bbd51
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.18008f400
test eax, eax
je 0x1800bbd51
call fcn.1800629a0
test eax, eax
je 0x1800bbd51
cmp byte [0x1801f4bda], 0x44
jne 0x1800bbcf3
test edi, edi
jne 0x1800bbcf3
lea rdx, [0x180150cf0]
mov ecx, 0x457
call fcn.180001000
mov rdi, rax
lea rdx, [0x1801514d0]
mov ecx, 7
call fcn.180001000
mov rbx, rax
lea rdx, [0x1801668a0]
mov ecx, 0x446
call fcn.180001000
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1801e66d0]
mov r8d, dword [0x1801e66cc]
lea rdx, str.kind608__policyid_d__policyname_s__context_s___s__._s
lea rcx, [rsp + 0x80]
call fcn.1800f509c
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
mov r8d, dword [0x1801f5414]
mov edx, dword [0x1801f5410]
lea rcx, [0x180161c7c]
call fcn.18008e860
call fcn.1800629a0
test eax, eax
je 0x1800bbe38
lea rdx, [0x1801668f8]
mov ecx, 0x434
call fcn.180001000
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x10
mov r9d, 3
xor r8d, r8d
xor edx, edx
lea rcx, [0x1801554c0]
call fcn.18008e860
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800bbe3d
cmp byte [0x1801f4bda], 0x44
jne 0x1800bbe38
mov rdx, rsi
lea rcx, [0x1801f5210]
call fcn.180067220
test eax, eax
jne 0x1800bbe38
test edi, edi
jne 0x1800bbe38
lea rdx, [0x180150ce0]
mov ecx, 0x458
call fcn.180001000
mov rdi, rax
lea rdx, [0x180151500]
mov ecx, 2
call fcn.180001000
mov rbx, rax
lea rdx, [0x1801668a0]
mov ecx, 0x446
call fcn.180001000
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1801e66d0]
mov r8d, dword [0x1801e66cc]
lea rdx, str.kind607__policyid_d__policyname_s__context_s___s__._s
lea rcx, [rsp + 0x80]
call fcn.1800f509c
lea rcx, [rsp + 0x80]
call fcn.1800a7a30
test eax, eax
je 0x1800bbe38
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
mov r8d, dword [0x1801f5414]
mov edx, dword [0x1801f5410]
lea rcx, [0x180161c7c]
call fcn.18008e860
mov eax, 1
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1800f4f80
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret