Function at 0x1800b6400
Capabilities:
Get file size
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1220
call fcn.180124410
sub rsp, rax
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp + 0x1200], rbx
mov rax, qword [0x1801dc960]
xor rax, rbp
mov qword [rbp + 0x11b0], rax
mov r14d, r9d
mov r12, r8
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov word [rbp + 0x150], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x152]
call fcn.1800f4fb0
lea rcx, [rbp + 0x150]
sub rcx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
add rdi, 2
test ax, ax
jne 0x1800b6480
mov byte [rbp + 0x690], r15b
xor edx, edx
mov r8d, 0x7ff
lea rcx, [rbp + 0x691]
call fcn.1800f4fb0
cmp dword [0x1802210f4], r15d
je 0x1800b671a
lea r8, [rbp + 0x150]
mov rdx, r12
mov rcx, rsi
call fcn.180064540
test eax, eax
je 0x1800b671a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1802211f8], r15d
je 0x1800b671a
lea r8, str.g_PSMem.RemoteDiskPolicy.UsbAuditCopyIn_U
mov edx, 0xa66f
lea rcx, [0x180155288]
call fcn.18005cd20
lea rcx, [rbp + 0x150]
call fcn.1800655a0
test eax, eax
jne 0x1800b651d
movzx ecx, word [rbp + 0x150]
call fcn.180065b90
test eax, eax
je 0x1800b6533
xor r8d, r8d
mov rdx, r12
lea rcx, [0x1802211fc]
call fcn.18008f400
test eax, eax
jne 0x1800b6550
lea r8, str.RenameAuditFile_U
mov edx, 0xa677
lea rcx, [0x180155288]
call fcn.18005cd20
jmp 0x1800b671a
cmp dword [0x1802216b4], r15d
jne 0x1800b6566
cmp dword [0x1802216b8], r15d
je 0x1800b671a
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], r15b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.180003700
nop
test r14d, r14d
je 0x1800b65c5
movzx ebx, byte [rsi + 3]
mov byte [rsi + 3], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r9, [rcx - 1]
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.180004230
mov byte [rsi + 3], bl
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov r13d, r15d
cmp rax, 0xffffffffffffffff
je 0x1800b660f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r13d, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x41]
call fcn.1800f4fb0
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.180065a00
lea rdx, [0x180151370]
mov ecx, 0x3f9
call fcn.180001000
mov rbx, rax
lea rdx, [0x1801632f8]
mov ecx, 3
call fcn.180001000
mov rdi, rax
lea rdx, [0x180150fd0]
mov ecx, 0x424
call fcn.180001000
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], rbx
lea rcx, [rbp + 0x150]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [0x1802210fc]
mov r8d, dword [0x1802210f8]
lea rdx, str.kind103__policyid_d__policyname_s__context_s_volume:_s___s___s___s___s__d.
lea rcx, [rbp + 0x690]
call fcn.1800f509c
mov dword [rsp + 0x38], r15d
lea rax, [rbp + 0x690]
mov qword [rsp + 0x30], rax
lea rax, str.MyCopyFileExW
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
mov r8d, dword [0x1802216b8]
mov edx, dword [0x1802216b4]
lea rcx, [0x180162c48]
call fcn.18008e860
nop
cmp qword [rbp + 0x30], 0x10
jb 0x1800b670a
mov rcx, qword [rbp + 0x18]
call fcn.1800f4b9c
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], 0
lea r13, [0x180152644]
cmp dword [0x180221ea4], 0
je 0x1800b6ab9
mov r8d, 1
lea rdx, str.EdpBigData.ini
lea rcx, [rbp + 0x10]
call fcn.18001f690
nop
cmp qword [rax + 0x20], 0x10
jb 0x1800b6752
mov r9, qword [rax + 8]
jmp 0x1800b6756
lea r9, [rax + 8]
mov r8d, 1
lea rdx, str.CustomName
lea rcx, str.CUSTOMERS
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
cmp qword [rbp + 0x30], 0x10
jb 0x1800b6782
mov rcx, qword [rbp + 0x18]
call fcn.1800f4b9c
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], 0
cmp edi, 2
jne 0x1800b67de
lea rax, [rbp + 0x10]
mov qword [rbp + 8], rax
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], 0
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.180003700
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, r12
mov rdx, rsi
lea ecx, [rdi + 3]
call fcn.1800a33e0
jmp 0x1800b6ab9
cmp dword [0x180221ea4], 0
je 0x1800b6ab9
lea r8, [rbp + 0x150]
mov rdx, r12
mov rcx, rsi
call fcn.180064540
test eax, eax
je 0x1800b6ab9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x180221fac], 0
je 0x1800b6ab9
lea r8, str.g_PSMem.m_BgdRemoteDiskMainPolicy.UsbAuditCopyIn_U
mov edx, 0xa6ac
lea rcx, [0x180155288]
call fcn.18005cd20
lea rcx, [rbp + 0x150]
call fcn.1800655a0
test eax, eax
jne 0x1800b6850
movzx ecx, word [rbp + 0x150]
call fcn.180065b90
test eax, eax
je 0x1800b6866
xor r8d, r8d
mov rdx, r12
lea rcx, [0x180221fb0]
call fcn.18008f400
test eax, eax
jne 0x1800b6883
lea r8, str.RenameAuditFile_U
mov edx, 0xa6b4
lea rcx, [0x180155288]
call fcn.18005cd20
jmp 0x1800b6ab9
cmp dword [0x1802222d4], 0
jne 0x1800b6899
cmp dword [0x1802222d8], 0
je 0x1800b6ab9
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.180003700
nop
test r14d, r14d
je 0x1800b68f8
movzx ebx, byte [rsi + 3]
mov byte [rsi + 3], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r9, [rcx - 1]
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.180004230
mov byte [rsi + 3], bl
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov ebx, r15d
cmp rax, 0xffffffffffffffff
je 0x1800b6941
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x10a0]
mov rcx, rsi
call fcn.180065a00
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1800b696b
mov rdi, r15
jmp 0x1800b69b0
lea r8d, [rax + rax]
cdqe
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1800b6987
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180124410
sub rsp, rcx
lea rcx, [rsp + 0x60]
mov r9d, 3
lea rdx, [rbp + 0x150]
call fcn.180015500
mov rdi, rax
mov byte [rbp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x41]
call fcn.1800f4fb0
lea r11, [rbp + 0xe90]
mov qword [rsp + 0x38], r11
lea rax, [rbp + 0x470]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x360]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x580]
mov r8, rdi
mov rdx, rsi
mov ecx, dword [0x1802222dc]
call fcn.180085950
lea r11, [rbp + 0xe90]
mov qword [rsp + 0x50], r11
lea rax, [rbp + 0x470]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x360]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x580]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov r8d, 3
lea rdx, str.Mode_d_r_nSrcP_s_r_nDstP_s_r_nFSize_d_r_nFSign_s_r_nFCode_s_r_nCreateTime_s_r_nMifTime_s_r_nUType_s
lea rcx, [rbp + 0x690]
call fcn.1800f509c
mov dword [rsp + 0x38], 1
lea rax, [rbp + 0x690]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0xe
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18008e860
nop
cmp qword [rbp + 0x30], 0x10
jb 0x1800b6aa9
mov rcx, qword [rbp + 0x18]
call fcn.1800f4b9c
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], r15
mov byte [rbp + 0x18], 0
test rsi, rsi
je 0x1800b6ac6
mov rcx, rsi
call fcn.1800fd3f0
cmp dword [0x1801e68d0], 0
je 0x1800b6d20
mov rcx, rsi
call fcn.1800679d0
test eax, eax
jne 0x1800b6d20
mov rcx, rsi
call fcn.1800676d0
mov ebx, eax
cmp dword [0x1801f520c], 0
je 0x1800b6b0e
cmp byte [0x1801f5206], 0x4f
jne 0x1800b6b0e
mov rdx, r12
lea rcx, [0x1801f5210]
call fcn.180067220
mov rcx, rsi
call fcn.180083ee0
cmp eax, 0xffffffff
je 0x1800b6d20
movsxd rdi, eax
mov rcx, rdi
imul rcx, rcx, 0x64
lea rax, [0x1801ece6c]
add rcx, rax
mov r8d, 1
mov rdx, rsi
call fcn.18008f400
test eax, eax
je 0x1800b6d20
imul rdi, rdi, 0x208
lea rax, [0x1801e1be0]
cmp byte [rdi + rax + 0x4cfc], 0x52
je 0x1800b6c26
cmp byte [rdi + rax + 0x4cfd], 0x4d
je 0x1800b6c26
cmp byte [0x1801f4bdb], 0x4f
jne 0x1800b6d20
test ebx, ebx
jne 0x1800b6d20
lea rdx, [0x1801514fc]
lea ecx, [rbx + 3]
call fcn.180001000
mov rdi, rax
lea rdx, [0x180151040]
mov ecx, 0x420
call fcn.180001000
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1801e66d0]
mov r8d, dword [0x1801e66cc]
lea rdx, str.kind613__policyid_d__policyname_s__context_s___s___s__s_
lea rcx, [rbp + 0x690]
call fcn.1800f509c
mov dword [rsp + 0x38], r15d
lea rax, [rbp + 0x690]
mov qword [rsp + 0x30], rax
lea rax, str.MyCopyFileA_FileProtectMainPolicy.DisableNetFile0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
mov r8d, dword [0x1801f5414]
mov edx, dword [0x1801f5410]
lea rcx, [0x180161c7c]
call fcn.18008e860
jmp 0x1800b6d20
cmp byte [0x1801f4bdb], 0x4f
jne 0x1800b6cd4
test ebx, ebx
jne 0x1800b6cd4
lea rdx, [0x1801514fc]
lea ecx, [rbx + 3]
call fcn.180001000
mov rdi, rax
lea rdx, [0x180151088]
mov ecx, 0x41e
call fcn.180001000
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1801e66d0]
mov r8d, dword [0x1801e66cc]
lea rdx, str.kind614__policyid_d__policyname_s__context_s___s___s__s_
lea rcx, [rbp + 0x690]
call fcn.1800f509c
mov dword [rsp + 0x38], r15d
lea rax, [rbp + 0x690]
mov qword [rsp + 0x30], rax
lea rax, str.MyCopyFileA_FileProtectMainPolicy.DisableNetFile0
mov qword [rsp + 0x28], rax
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 0x1800b6d20
lea rdx, [0x180150d00]
mov ecx, 0x456
call fcn.180001000
mov dword [rsp + 0x38], r15d
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 0x1800b6d25
mov eax, 1
mov rcx, qword [rbp + 0x11b0]
xor rcx, rbp
call fcn.1800f4f80
mov rbx, qword [rbp + 0x1200]
lea rsp, [rbp + 0x11c0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret