Function at 0x41e84c
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x42cd54
call sub.MSVCRT.dll__EH_prolog
push ecx
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
cmp ecx, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
je 0x41e883
call fcn.004102c9
jmp 0x41e885
xor eax, eax
push 0x43f73c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
cmp ebx, edi
pop ecx
mov dword [ebp - 0x28], ebx
jne 0x41e8a6
push 0xcddc0005
call fcn.00429c16
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push edi
push ebx
call esi
add esp, 0xc
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
pop ecx
mov dword [ebp - 0x20], eax
push edi
push edi
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x20]
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
test edi, edi
mov dword [ebp - 0x24], edi
jne 0x41e8e4
push 0xcddc0002
call fcn.00429c16
push ebx
mov ebx, dword [ebp - 0x20]
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x41e903
push 0xcddc001f
call fcn.00429c16
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x44]
push eax
push 1
push 0x11
mov dword [ebp - 0x44], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov esi, eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp - 0x18], 0
mov word [ebp - 0x54], 0x2011
mov dword [ebp - 0x4c], esi
cmp dword [ebp - 0x18], ebx
jge 0x41e94f
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
inc dword [ebp - 0x18]
jmp 0x41e934
and dword [ebp - 0x14], 0
push 7
push 0
push 0x431210
lea ecx, [ebp - 0x14]
call fcn.0041ef38
test eax, eax
jge 0x41e975
cmp eax, 0x80004002
je 0x41e975
push eax
call fcn.00429c16
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov byte [ebp - 4], 2
test ecx, ecx
mov dword [ebp - 0x38], esp
mov dword [eax], ecx
je 0x41e992
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00419cc0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0041f6ef
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41e9bf
call fcn.0041f566
jmp 0x41e9c1
xor eax, eax
mov edi, dword [ebp - 0x30]
push eax
lea esi, [edi + 0x60]
mov ecx, esi
call sub.MFC42.DLL_CString::operator
push dword [esi]
push dword [edi + 0x68]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [edi + 0x68]
lea ecx, [ebp - 0x1c]
call fcn.0041f518
push 0x1001
push 1
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.0041f4f6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00419cc0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041f674
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x41ea35
push eax
call fcn.00429c16
cmp dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
jne 0x41ea49
push 0x80004003
call fcn.00429c16
push dword [ebp - 0x20]
lea esi, [ebp - 0x64]
mov ebx, dword [ebp - 0x14]
sub esp, 0x10
mov edi, esp
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x44]
xor esi, esi
cmp eax, esi
jge 0x41ea73
push 0x431200
push ebx
push eax
call fcn.00429c24
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, esi
jge 0x41ea8b
push eax
call fcn.00429c16
cmp dword [ebp - 0x14], esi
jne 0x41ea9a
push 0x80004003
call fcn.00429c16
mov ecx, dword [ebp - 0x14]
call fcn.0041f6ce
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SafeArrayRedim]
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x41eaba
call fcn.0041029c
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x41eade
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41eade
cmp dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
je 0x41eaef
push dword [ebp - 0x24]
call sub.MFC42.DLL_operatordelete
pop ecx
cmp dword [ebp - 0x28], esi
je 0x41eafe
push dword [ebp - 0x28]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov ecx, dword [ebp + 8]
cmp ecx, esi
je 0x41eb0a
call fcn.0041029c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4