Function at 0x43f430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682629
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x4ac], edi
call fcn.0040cdb0
test al, al
jne 0x43fbab
mov ecx, esi
call fcn.004ddec0
test al, al
je 0x43fbab
lea ecx, [ebp - 0x454]
call fcn.004058d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4a8]
call fcn.004ef120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 0x4a1], 0
call fcn.004ef120
mov byte [ebp - 4], 2
lea eax, [ebp - 0x424]
push eax
push 0x6b30e0
push 1
push 0
push 0x6b3150
mov dword [ebp - 0x424], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43f8e4
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x43f8e4
mov eax, dword [ecx]
lea edx, [ebp - 0x438]
push edx
push 0x6b3190
push ecx
call dword [eax]
test eax, eax
js 0x43f61d
mov edi, dword [ebp - 0x438]
test edi, edi
je 0x43f617
mov ecx, dword [ebp - 0x43c]
mov esi, dword [edi]
push 0
call fcn.00405860
push eax
push edi
call dword [esi + 0x14]
test eax, eax
js 0x43f603
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0064d010
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0064d010
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x420]
add esp, 0x18
mov ecx, dword [eax]
push 2
push 0
push 0x104
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x218]
push 0x104
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea eax, [ebp - 0x420]
push eax
call fcn.00405dd0
mov edi, dword [ebp - 0x4ac]
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00405b20
lea eax, [ebp - 0x218]
push eax
call fcn.00405dd0
add esp, 4
lea ecx, [ebp - 0x454]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00405b20
mov ecx, edi
call fcn.0040cdb0
test al, al
mov eax, dword [ebp - 0x438]
push eax
sete byte [ebp - 0x4a1]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x43f61d
mov eax, dword [ebp - 0x438]
mov edi, dword [ebp - 0x4ac]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x43f61d
mov edi, dword [ebp - 0x4ac]
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.004ef1e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a8]
call fcn.004ef1e0
cmp byte [ebp - 0x4a1], 0
je 0x43f902
mov ecx, edi
call fcn.00405860
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x43f921
xorps xmm0, xmm0
movups xmmword [ebp - 0x434], xmm0
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x4a8], eax
test eax, eax
je 0x43f7f7
call fcn.004d8c90
test al, al
je 0x43f7f7
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x43f708
push str.Kernel32.dll
lea ecx, [ebp - 0x4e0]
call fcn.00405880
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4e0]
push eax
call fcn.004f08f0
mov ecx, eax
call fcn.004f09b0
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.00405870
test edi, edi
je 0x43f7f1
push str.IsWow64Process
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
test eax, eax
je 0x43f7f1
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x438], 0
push ecx
push dword [ebp - 0x4a8]
call eax
test eax, eax
je 0x43f7f1
cmp dword [ebp - 0x438], 0
je 0x43f7f1
push str.Kernel32.dll
lea ecx, [ebp - 0x4c8]
call fcn.00405880
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c8]
call fcn.00405860
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x4a8], eax
test eax, eax
je 0x43f7a8
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x43f7a2
push ecx
call esi
mov ecx, dword [ebp - 0x434]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x4a8]
cmovne ecx, edx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c8]
call fcn.00405870
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x43f7d3
push str.Wow64DisableWow64FsRedirection
push eax
call edi
mov ecx, eax
mov eax, dword [ebp - 0x434]
jmp 0x43f7d5
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
test eax, eax
je 0x43f7e9
push str.Wow64RevertWow64FsRedirection
push eax
call edi
jmp 0x43f7eb
xor eax, eax
mov dword [ebp - 0x430], eax
mov edi, dword [ebp - 0x4ac]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x43f817
cmp dword [ebp - 0x428], 0
jne 0x43f817
lea ecx, [ebp - 0x428]
push ecx
call eax
mov ecx, edi
call fcn.004d7020
test al, al
je 0x43f888
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x43f838
push dword [ebp - 0x428]
call eax
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x43f858
push eax
call esi
mov ecx, dword [ebp - 0x434]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x434], ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x43f87c
push eax
call esi
mov ecx, dword [ebp - 0x434]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x434], ecx
mov byte [ebp - 0x4a1], 1
jmp 0x43fb91
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x43f89e
push dword [ebp - 0x428]
call eax
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x43f8be
push eax
call esi
mov ecx, dword [ebp - 0x434]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x434], ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x43f902
push eax
call esi
mov ecx, dword [ebp - 0x434]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x434], ecx
jmp 0x43f902
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.004ef1e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a8]
call fcn.004ef1e0
mov ecx, dword [ebp - 0x43c]
push 0x6d3c30
call fcn.00405860
push eax
call fcn.0066138b
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f92d
mov byte [ebp - 0x4a1], 0
jmp 0x43fb91
push 0
push 0
push esi
mov byte [ebp - 0x4a1], 1
call fcn.006572d6
add esp, 0xc
test eax, eax
jne 0x43fb88
push esi
push 0x4c
lea eax, [ebp - 0x4a0]
push 1
push eax
call fcn.00656ed0
add esp, 0x10
cmp eax, 0x4c
jne 0x43fb88
cmp dword [ebp - 0x4a0], eax
jne 0x43fb88
test byte [ebp - 0x48c], 1
je 0x43fa85
push esi
push 1
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push 2
push eax
call fcn.00656ed0
add esp, 0x10
cmp eax, 1
jne 0x43fb81
mov eax, dword [ebp - 0x424]
test ax, ax
je 0x43fa85
push ecx
lea ecx, [ebp - 0x430]
call fcn.0040d600
push ecx
movzx eax, ax
push eax
call fcn.0043fbd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x430]
call fcn.004028e0
movzx ecx, word [ebp - 0x424]
push esi
push 1
push ecx
push dword [eax]
mov dword [ebp - 0x4a8], eax
call fcn.00656ed0
add esp, 0x10
cmp eax, 1
je 0x43fa15
mov byte [ebp - 0x4a1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.00425230
jmp 0x43fb88
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x4a8]
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43fa76
lea eax, [ebp - 0x218]
push eax
call fcn.00405dd0
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00405b20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.00425230
jmp 0x43fb88
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.00425230
push esi
push 1
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0
push 4
push eax
call fcn.00656ed0
add esp, 0x10
cmp eax, 1
jne 0x43fb81
push eax
push 0xc
push esi
call fcn.006572d6
add esp, 0xc
test eax, eax
jne 0x43fb81
push esi
push 1
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x424]
push 4
push eax
call fcn.00656ed0
add esp, 0x10
cmp eax, 1
jne 0x43fb81
mov eax, dword [ebp - 0x424]
cmp eax, 0x14
jb 0x43fb81
push 1
add eax, 0xffffffec
push eax
push esi
call fcn.006572d6
add esp, 0xc
test eax, eax
jne 0x43fb81
mov edi, dword [ebp - 0x43c]
sub edi, dword [ebp - 0x424]
je 0x43fb81
cmp edi, 0x104
ja 0x43fb81
lea eax, [edi + 1]
push eax
call fcn.006354e1
push esi
push 1
push edi
push eax
mov dword [ebp - 0x4a8], eax
mov byte [eax + edi], 0
call fcn.00656ed0
mov edi, dword [ebp - 0x4a8]
add esp, 0x14
cmp eax, 1
jne 0x43fb72
mov edx, edi
lea ecx, [ebp - 0x4c8]
call fcn.004df6a0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4ac]
push eax
call fcn.0040cdf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c8]
call fcn.00405870
test edi, edi
je 0x43fb88
push edi
call fcn.00634f16
add esp, 4
jmp 0x43fb88
mov byte [ebp - 0x4a1], 0
push esi
call fcn.0065636e
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00405870
mov al, byte [ebp - 0x4a1]
jmp 0x43fbad
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret 8