Function at 0x43e6f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe19
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x224], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
xor ebx, ebx
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], ebx
jge 0x43e744
push 0x80070057
call fcn.00407be0
mov eax, dword [eax + 0x18]
movzx ecx, word [esi]
cmp dword [eax + 0x10], ebx
je 0x43e8b3
cmp ecx, 0x5c
jne 0x43e8b3
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x43e779
push 0x8007000e
call fcn.00407be0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x228], eax
cmp dword [eax + 4], 0
je 0x43e7c3
push esi
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, eax
call fcn.004444f0
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ecx]
je 0x43e7c3
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
movq qword [ebp - 0x234], xmm0
jmp 0x43e7c6
or eax, 0xffffffff
push esi
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x21c]
cmp eax, 0xffffffff
je 0x43e9c4
lea esi, [eax + 1]
mov dword [ebp - method.CxAutoArray_unsigned_char_.virtual_0], vtable.CxAutoArray_unsigned_char_.0
push esi
call fcn.004e52e9
mov ebx, eax
push esi
push 0
push ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x230], ebx
call fcn.004e8ae0
add esp, 0x10
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43e864
xor esi, esi
mov dword [ebp - 0x228], esi
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 3
add ecx, 0x14
mov eax, dword [ebp - 0x21c]
push eax
push ebx
push esi
call fcn.00443b50
push esi
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
jne 0x43e881
lea ecx, [ebp - 0x234]
call fcn.0043f250
jmp 0x43e9c4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x228], esi
test esi, esi
jne 0x43e82c
push 0x8007000e
call fcn.00407be0
push ecx
push dword [ebp - 0x220]
mov ecx, edi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call fcn.0043f1b0
lea ecx, [ebp - 0x234]
call fcn.0043f250
jmp 0x43e9c4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
cmp word [esi], 0x5c
push ecx
jne 0x43e8f7
mov eax, dword [ebp - 0x224]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00435850
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x43e904
push esi
push ecx
lea ecx, [ebp - 0x218]
call fcn.00435850
push 0x55fda8
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], ebx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00514caa
add esp, 0xc
test eax, eax
jne 0x43e9c4
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43e9c4
push 2
push 0
push eax
call fcn.005150f8
push dword [ebp - 0x21c]
call fcn.0051572e
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.004e52e9
push esi
mov esi, eax
mov dword [ebp - 0x220], eax
push 0
push esi
call fcn.004e8ae0
push 0
push 0
push dword [ebp - 0x21c]
call fcn.005150f8
push dword [ebp - 0x21c]
push ebx
push 1
push esi
call fcn.00515949
push dword [ebp - 0x21c]
call fcn.00515af0
mov eax, dword [edi + 4]
add esp, 0x40
cmp eax, esi
je 0x43e9c4
test eax, eax
je 0x43e9ba
push eax
call fcn.004e4d31
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 4], esi
mov dword [edi + 8], 0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43ea0d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43ea09
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43ea09
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x43ea0d
mov ecx, edx
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 8