Function at 0x100738e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbc70
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x31c], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x390], ebx
push ebx
call fcn.10073430
push ebx
mov ecx, esi
call fcn.10074060
mov dword [ebp - 0x338], 0
push 0
lea ecx, [ebp - 0x3a8]
call fcn.10014510
mov dword [ebp - 0x368], 0
xor eax, eax
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], eax
mov eax, dword [ebx + 0x38]
sub eax, 0x10
push eax
call fcn.10002a60
add esp, 4
add eax, 0x10
mov dword [ebp - 0x320], eax
cmp dword [eax - 0xc], 0
jne 0x10073ade
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, dword [ebx + 0x18]
mov edx, 0x104
lea ecx, [ebp - 0x21c]
mov eax, ecx
sub esi, eax
jmp 0x10073a00
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10073a20
movzx eax, word [ecx + esi]
test ax, ax
je 0x10073a20
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10073a00
jmp 0x10073a24
test edx, edx
jne 0x10073a27
sub ecx, 2
xor eax, eax
mov word [ecx], ax
push str...Preferences
lea eax, [ebp - 0x21c]
push eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call edi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10073a56
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xe
call fcn.10003680
add esp, 4
test eax, eax
je 0x10073a6f
lea ecx, [ebp - 0x21c]
push ecx
call eax
jmp 0x10073a7c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test esi, esi
je 0x10073a89
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0xffffffff
je 0x10073a93
test bl, 0x10
je 0x10073aa1
push str...pref
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10073ab0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x320]
call fcn.10003740
mov eax, dword [ebp - 0x320]
mov ebx, dword [ebp - 0x390]
lea ecx, [ebp - 0x3a8]
push ecx
push ecx
mov esi, esp
lea edi, [eax - 0x10]
push edi
call fcn.10002a60
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp - 0x31c]
call fcn.10072d10
test eax, eax
je 0x10073f91
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 0
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebx], 1
jne 0x10073be2
push esi
lea ecx, [ebp - 0x38c]
call fcn.10014510
push dword [ebx + 4]
lea ecx, [ebp - 0x318]
call fcn.10007d10
push dword [eax]
lea ecx, [ebp - 0x24c]
call fcn.1000bb30
lea ecx, [ebp - 0x314]
mov eax, dword [ebp - 0x318]
cmp eax, ecx
je 0x10073b78
push eax
call sub.msvcrt.dll_free
add esp, 4
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x24c]
push eax
call fcn.100144c0
lea ecx, [ebp - 0x38c]
call fcn.100148d0
lea ecx, [ebp - 0x38c]
call fcn.10016250
test al, al
jne 0x10073bcc
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x368]
call fcn.100758f0
mov esi, 1
mov dword [ebp - 0x324], esi
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x328], eax
lea ecx, [ebp - 0x24c]
call fcn.1000c070
lea ecx, [ebp - 0x38c]
call fcn.10014820
push dword [ebx + 0xc]
lea ecx, [ebp - 0x318]
call fcn.10007d10
push dword [eax]
lea ecx, [ebp - 0x27c]
call fcn.1000bb30
lea ecx, [ebp - 0x314]
mov eax, dword [ebp - 0x318]
cmp eax, ecx
je 0x10073c16
push eax
call sub.msvcrt.dll_free
add esp, 4
cmp dword [ebx + 8], 1
jne 0x10073c88
push 0
lea ecx, [ebp - 0x38c]
call fcn.10014510
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x27c]
push eax
call fcn.100144c0
lea ecx, [ebp - 0x38c]
call fcn.100148d0
lea ecx, [ebp - 0x38c]
call fcn.10016250
test al, al
jne 0x10073c7d
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x35c]
call fcn.100758f0
mov esi, 1
mov dword [ebp - 0x324], esi
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x32c], eax
lea ecx, [ebp - 0x38c]
call fcn.10014820
push dword [ebx + 0x14]
lea ecx, [ebp - 0x234]
call fcn.10020470
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100077c0
add esp, 8
lea ecx, [ebp - 0x234]
call fcn.10005250
cmp dword [ebx + 0x10], 1
jne 0x10073de6
push 0
lea ecx, [ebp - 0x38c]
call fcn.10014510
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x264]
push eax
call fcn.100144c0
lea ecx, [ebp - 0x38c]
call fcn.100148d0
lea eax, [ebp - 0x38c]
push eax
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x264]
push eax
call fcn.1000b980
mov ecx, dword [ebp - 0x31c]
call fcn.10072e20
lea ecx, [ebp - 0x38c]
call fcn.10016250
test al, al
jne 0x10073ddb
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x350]
call fcn.100758f0
mov eax, dword [ebx + 0x3c]
cmp dword [eax - 0xc], 0
je 0x10073dc4
push eax
lea ecx, [ebp - 0x294]
call fcn.10020470
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100077c0
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.10005250
push 0
lea ecx, [ebp - 0x24c]
call fcn.10014510
lea eax, [ebp - 0x24c]
push eax
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x234]
push eax
call fcn.1000b980
mov ecx, dword [ebp - 0x31c]
call fcn.10072e20
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x344]
call fcn.100758f0
lea ecx, [ebp - 0x24c]
call fcn.10014820
lea ecx, [ebp - 0x234]
call fcn.1000c070
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x334], eax
mov esi, 1
mov dword [ebp - 0x324], esi
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x330], eax
lea ecx, [ebp - 0x38c]
call fcn.10014820
cmp esi, 1
jne 0x10073e3c
push dword [ebx + 0xc]
lea ecx, [ebp - 0x318]
call fcn.10007d10
push dword [eax]
lea ecx, [ebp - 0x234]
call fcn.1000bb30
lea ecx, [ebp - 0x314]
mov eax, dword [ebp - 0x318]
cmp eax, ecx
je 0x10073e1f
push eax
call sub.msvcrt.dll_free
add esp, 4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x374]
call fcn.100758c0
lea ecx, [ebp - 0x234]
call fcn.1000c070
lea ecx, [ebp - 0x264]
call fcn.1000c070
lea ecx, [ebp - 0x27c]
call fcn.1000c070
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x328]
sub ecx, dword [ebp - 0x368]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10073ed5
mov ecx, dword [ebp - 0x32c]
sub ecx, dword [ebp - 0x35c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10073ed5
mov ecx, dword [ebp - 0x330]
sub ecx, dword [ebp - 0x350]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x10073ed5
mov ecx, dword [ebp - 0x334]
sub ecx, dword [ebp - 0x344]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10073f53
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x3a8]
push eax
mov ebx, dword [ebp - 0x31c]
mov ecx, ebx
call fcn.10074520
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x3a8]
push eax
mov ecx, ebx
call fcn.10074bc0
sub esp, 0xc
mov ecx, esp
lea eax, [ebp - 0x374]
push eax
call fcn.10020650
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x3a8]
push eax
mov ecx, ebx
call fcn.100747b0
sub esp, 0xc
mov ecx, esp
lea eax, [ebp - 0x374]
push eax
call fcn.10020650
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x3a8]
push eax
mov ecx, ebx
call fcn.10074950
jmp 0x10073f59
mov ebx, dword [ebp - 0x31c]
lea eax, [ebp - 0x3a8]
push eax
push ecx
mov esi, esp
push edi
call fcn.10002a60
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
call fcn.1006c220
test eax, eax
je 0x10073f86
mov dword [ebp - 0x338], 1
lea ecx, [ebp - 0x374]
call fcn.10014650
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10073fa6
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
lea ecx, [ebp - 0x344]
call fcn.1006b970
lea ecx, [ebp - 0x350]
call fcn.1006b970
lea ecx, [ebp - 0x35c]
call fcn.1006b970
lea ecx, [ebp - 0x368]
call fcn.1006b970
lea ecx, [ebp - 0x3a8]
call fcn.10014820
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 4