Function at 0x42f990
Capabilities:
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b478
push 0x43063c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
cmp dword [0x49bbb0], ebx
jne 0x42fb26
xor edi, edi
mov dword [ebp - 0x2c], edi
cmp dword [0x49bba8], ebx
je 0x42f9e5
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x49bbb0], ebx
jne 0x42faec
cmp dword [0x49bba8], ebx
jne 0x42fa06
call fcn.00409420
test eax, eax
je 0x42faf4
mov ebx, dword [0x468130]
mov dword [ebp - 0x44], ebx
xor esi, esi
mov dword [ebp - 0x34], esi
mov eax, dword [0x4a1d30]
cmp eax, esi
jne 0x42fadb
mov dword [ebp - 0x38], esi
cmp dword [0x4a1d34], esi
jne 0x42fa5e
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x42fa54
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
test eax, eax
je 0x42fa7c
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
jne 0x42facd
mov eax, dword [0x4a1d3c]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x42fabc
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x42faa3
mov eax, dword [str.Kernel32.dll]
push eax
call dword [0x454fb0]
jmp 0x42fab0
mov ecx, dword [0x454fbc]
push ecx
call dword [0x454fb4]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x42facd
mov dword [0x4a1d3c], eax
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
mov eax, esi
mov dword [0x4a1d30], eax
test esi, esi
je 0x42fae5
lea edx, [ebp - 0x24]
push edx
push ebx
call eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x48], eax
test eax, eax
je 0x42faf4
mov edi, 1
mov dword [ebp - 0x2c], edi
xor ebx, ebx
cmp edi, ebx
jne 0x42fb1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp eax, 0x7f
je 0x42fb0d
cmp eax, 0x78
jne 0x42fb1b
mov edi, 1
mov dword [0x49bbb0], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], edi
cmp edi, ebx
je 0x42fbd5
xor esi, esi
mov dword [ebp - 0x4c], esi
cmp dword [0x4a1d34], ebx
jne 0x42fb65
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x42fb5b
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
cmp eax, ebx
je 0x42fb82
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, ebx
jne 0x42fbd2
mov eax, dword [0x4a1d44]
mov dword [ebp - 0x50], eax
cmp eax, ebx
jne 0x42fbc2
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x42fbaa
mov edx, dword [str.Comdlg32.dll]
push edx
call dword [0x45b468]
jmp 0x42fbb6
mov eax, dword [0x45b474]
push eax
call dword [0x45b46c]
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x42fbd2
mov dword [0x4a1d44], eax
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
call fcn.0042fbf7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4