Function at 0x1003761d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100565e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10037818
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1003774e
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10037749
lea eax, [ebp - 0xc8]
push eax
call fcn.1002cea7
pop ecx
mov esi, eax
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
call fcn.1002ebf6
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x30]
push dword [eax]
lea eax, [ebp - 0xb0]
push eax
call fcn.1003045f
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x90]
call fcn.1003810b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.10008736
jmp 0x10037816
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1003778a
mov dword [ebp - 0x28], 1
jmp 0x1003778e
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 3
jbe 0x1003779d
mov dword [ebp - 0x20], 1
jmp 0x100377a1
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x2215256e
jle 0x100377b3
mov dword [ebp - 0x14], 1
jmp 0x100377b7
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ecx]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jge 0x100377d4
mov dword [ebp - 0x1c], 1
jmp 0x100377d8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, 6
cmp eax, dword [ebp - 0x1c]
jle 0x100377ee
mov dword [ebp - 0x24], 1
jmp 0x100377f2
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx]
jg 0x1003780a
mov dword [ebp - 0x34], 1
jmp 0x1003780e
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x10037878
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10037854
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10037852
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x10037878
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x10037878
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret