Function at 0x4531c168
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x208]
push eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.45317a54
test eax, eax
jne 0x4531c33b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4531c1f6
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.45317ad8
test eax, eax
je 0x4531c33b
lea eax, [ebp - 0x208]
jmp 0x4531c332
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x104]
push eax
and ecx, 3
push dword [ebx + 0x7f8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4531c2ae
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317ad8
test eax, eax
je 0x4531c263
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
call sym.HHA.dll_Ordinal_46
xor edi, edi
cmp dword [ebx + 0x1c], edi
je 0x4531c278
lea eax, [ebp - 0x104]
push eax
call sym.HHA.dll_Ordinal_318
jmp 0x4531c28f
push edi
lea eax, [ebp - 0x104]
push edi
push eax
push dword [ebp + 8]
call sym.HHA.dll_Ordinal_316
lea eax, [ebp - 0x104]
push eax
call sym.HHA.dll_Ordinal_23
mov esi, dword [ebp + 0x10]
mov ebx, eax
mov eax, dword [esi]
cmp eax, edi
je 0x4531c2a7
push eax
call fcn.45341e40
pop ecx
mov dword [esi], ebx
jmp 0x4531c5c1
cmp dword [ebx + 0x1c], 0
je 0x4531c34a
push dword [ebp + 0xc]
call sym.HHA.dll_Ordinal_318
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x104]
push eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317a54
test eax, eax
jne 0x4531c33b
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4531c34a
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317ad8
test eax, eax
je 0x4531c33b
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
call sym.HHA.dll_Ordinal_46
cmp dword [ebx + 0x1c], 0
je 0x4531c5c1
jmp 0x4531c593
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, 0x2f
je 0x4531c35b
cmp al, 0x5c
jne 0x4531c589
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
push 0
lea edi, [eax + 1]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x104]
push eax
and ecx, 3
push dword [ebx + 0x7f8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4531c559
or ecx, eax
mov edi, 0x45366638
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317a54
test eax, eax
jne 0x4531c58d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4531c559
or ecx, eax
mov edi, str..._..
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317a54
test eax, eax
jne 0x4531c58d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4531c559
or ecx, eax
mov edi, str..._.._..
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317a54
test eax, eax
jne 0x4531c58d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4531c589
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.45317ad8
test eax, eax
je 0x4531c57a
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
call sym.HHA.dll_Ordinal_46
cmp dword [ebx + 0x1c], 0
lea eax, [ebp - 0x104]
push eax
je 0x4531c5a8
jmp 0x4531c59a
xor eax, eax
jmp 0x4531c5c4
cmp dword [ebx + 0x1c], 0
je 0x4531c5a1
lea eax, [ebp - 0x208]
push eax
call sym.HHA.dll_Ordinal_318
jmp 0x4531c5a7
lea eax, [ebp - 0x104]
push eax
call sym.HHA.dll_Ordinal_23
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4531c5bf
push eax
call fcn.45341e40
pop ecx
mov dword [esi], edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10