Function at 0x180039d50
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x34], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x38], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180039f48
cmp dword [rsp + 0x30], 0xffffffff
je 0x180039df9
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
jne 0x180039df9
mov qword [rsp + 0x68], 1
jmp 0x180039e02
mov qword [rsp + 0x68], 0
cvtsi2sd xmm0, qword [rsp + 0x68]
call fcn.18003aa80
mov dword [rsp + 0x4c], eax
movzx ecx, byte [0x180076d21]
movsx ecx, cl
mov dword [rsp + 0x40], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x44], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x44]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x4c]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180039f48
xor eax, eax
cmp eax, 1
je 0x180039f48
mov dword [rsp + 0x20], 0
jmp 0x180039ea6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x50], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x54], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x54]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
cmp dword [rsp + 0x20], eax
jge 0x180039f48
mov dword [rsp + 0x24], 0
jmp 0x180039f30
cmp dword [rsp + 0x24], 0x38
jae 0x180039f43
mov eax, 1
jmp 0x180039ff8
jmp 0x180039e9c
mov dword [rsp + 0x28], 0
jmp 0x180039f5c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x5c], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x60], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
cmp dword [rsp + 0x28], eax
jge 0x180039ff8
mov dword [rsp + 0x2c], 0
jmp 0x180039fe6
cmp dword [rsp + 0x2c], 0x52
jae 0x180039ff3
xor eax, eax
jmp 0x180039ff8
jmp 0x180039f52
add rsp, 0x78
ret