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

Disassembly:
mov eax, 0x435c6c
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x37c
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ebx, ebx
cmp dword [eax + 0x24], ebx
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
jne 0x42fb9c
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x218]
cmp edi, ebx
jne 0x42f806
mov dword [ebp - 0x20], eax
jmp 0x42f820
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push edi
push eax
call dword [ecx + 0x18]
cmp eax, ebx
jl 0x42fb9c
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x42fb9c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f85b
xor eax, eax
cmp edi, ebx
sete al
push eax
push dword [ebp + 8]
call sub.HHA.dll_Ordinal_143
test eax, eax
je 0x42fb9c
cmp edi, ebx
jne 0x42f86e
push dword [0x443c30]
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.0042821f
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push dword [ebp - 0x1c]
call fcn.0042e148
test eax, eax
je 0x42fb77
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call sub.HHA.dll_Ordinal_58
push dword [esi + 0x21c]
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x23
je 0x42fb60
cmp al, 0x24
je 0x42fb60
cmp dword [ebp - 0x78], 1
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x180]
jne 0x42f97c
or ecx, 0xffffffff
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 - 0x180]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_80
mov edi, dword [ebp - 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x180]
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]
mov ecx, edx
and ecx, 3
cmp dword [ebp + 0xc], ebx
rep movsb byte es:[edi], byte [esi]
mov word [ebp - 0x388], bx
je 0x42f94e
push dword [ebp + 0xc]
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x388]
push 0x443b1c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0042f7ce
jmp 0x42fb47
or ecx, 0xffffffff
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 - 0x180]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_80
mov edi, dword [ebp - 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x180]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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]
push 0x8000000
mov ecx, edx
push 2
push ebx
and ecx, 3
push ebx
lea eax, [ebp - 0x180]
push 0x40000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
je 0x42fb47
lea eax, [ebp - 0x180]
push eax
call sub.HHA.dll_Ordinal_318
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042866f
call fcn.00403d19
push dword [ebp - 0x74]
lea ecx, [ebp - 0x2c]
call sub.HHA.dll_Ordinal_27
cmp dword [ebp + 0xc], ebx
mov byte [ebp - 4], 1
je 0x42face
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call sub.HHA.dll_Ordinal_58
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x180]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 4], 2
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 - 0x180]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_80
mov edi, dword [ebp - 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x180]
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]
mov ecx, edx
lea eax, [ebp - 0x180]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_23
cmp dword [ebp - 0x10], ebx
mov esi, eax
je 0x42faba
push dword [ebp - 0x10]
call sub.HHA.dll_Ordinal_132
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
je 0x42face
push dword [ebp - 0x18]
call sub.HHA.dll_Ordinal_132
mov esi, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0042e4ff
mov edi, eax
cmp edi, ebx
jl 0x42fb19
mov eax, dword [esi + 0x268]
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x74]
mov ecx, dword [eax]
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x42fb12
lea eax, [ebp - 0x34]
push ebx
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, esi
call fcn.0042ecee
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge 0x42fb35
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42fb37
inc dword [esi]
cmp dword [ebp - 0x2c], ebx
mov byte [ebp - 4], bl
je 0x42fb47
push dword [ebp - 0x2c]
call sub.HHA.dll_Ordinal_132
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x42fb58
push dword [ebp - 0x10]
call sub.HHA.dll_Ordinal_132
mov esi, dword [ebp - 0x14]
jmp 0x42f86e
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x42f86e
push ecx
call sub.HHA.dll_Ordinal_132
jmp 0x42f86e
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42fb87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x218]
je 0x42fb9c
cmp eax, ebx
je 0x42fb9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc