Function at 0x453187ac
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x45362407
call fcn.4534228c
sub esp, 0x814
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
test ebx, ebx
je 0x453187eb
mov ecx, dword [ebx]
mov eax, 0x134
cmp ecx, eax
ja 0x453187d5
test ecx, ecx
jne 0x453187d7
mov dword [ebx], eax
mov ecx, dword [ebx]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x820]
call fcn.45318a0c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x414], 0
mov dword [ebp - 0x614], eax
mov eax, dword [ebp + 0x10]
push 0x2e
push esi
mov dword [ebp - 0x610], eax
call sym.HHA.dll_Ordinal_8
test eax, eax
jne 0x45318879
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x45318879
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
add eax, 0xd
and al, 0xfc
call fcn.45342670
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x14], esp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, esp
push str..hhp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_4
mov esi, dword [ebp + 0x14]
jmp 0x453188d2
push 0x453668a0
push esi
call sym.HHA.dll_Ordinal_1
test eax, eax
je 0x453188d2
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
add eax, 0xd
and al, 0xfc
call fcn.45342670
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x14], esp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, esp
push str..hhp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_4
mov esi, dword [ebp + 0x14]
push esi
call dword [ebp - 0x610]
test eax, eax
je 0x45318929
push esi
lea ecx, [ebp - 0x820]
call fcn.453156d8
test eax, eax
je 0x45318929
push esi
call dword [ebp - 0x610]
lea ecx, [ebp - 0x820]
call fcn.45315c01
push 0x453636e4
call dword [ebp - 0x610]
test eax, eax
je 0x45318929
xor eax, eax
lea ecx, [ebp - 0x820]
cmp dword [ebp - 0x7ec], eax
sete al
push eax
call fcn.45318dce
test eax, eax
jne 0x4531893f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.45318c08
xor eax, eax
jmp 0x453189f5
lea ecx, [ebp - 0x820]
call fcn.453194d5
xor ecx, ecx
test eax, eax
setge cl
test ebx, ebx
mov dword [ebp + 0x14], ecx
je 0x453189e3
mov eax, dword [ebp - 0x438]
mov edi, dword [ebp - 0x28]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x440]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x374]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x5fc]
dec eax
or ecx, 0xffffffff
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x434]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x430]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x42c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x428]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x424]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x420]
mov dword [ebx + 0x2c], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.45318c08
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x82c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10