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

Disassembly:
mov eax, 0x4eae3d
call fcn.004e6580
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.004115dc
mov esi, dword [ebp - 0x4c]
push esi
lea ecx, [ebp - 0x10]
call fcn.00429138
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x20]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
sete byte [ebp + 0xb]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp byte [ebp + 0xb], bl
je 0x42b7e7
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x42b7d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x42b7e0
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor edi, edi
jmp 0x42bb58
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push esi
mov byte [ebp - 4], 4
call dword [eax + 0x28]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x60]
cmp dword [ebp - 0x1c], ebx
jne 0x42b832
push dword [ebp - 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x2c]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x42b82b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
jmp 0x42bb4f
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
push esi
call dword [eax + 0xc]
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
push dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0x64]
call fcn.0042b242
mov esi, eax
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0042aaa7
mov dword [eax], esi
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0042aaa7
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
push eax
call sub.MFC71U.DLL_SerializeElements
pop ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x8c]
cmp dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x34], ebx
jbe 0x42ba7a
mov dword [ebp - 0x40], ebx
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x44]
push dword [edx + edi*4]
mov byte [ebp - 4], 5
push eax
call dword [ecx + 0x9c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
call fcn.00429573
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0xc0]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
mov edi, 0x503d24
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00402219
test al, al
jne 0x42b949
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
dec eax
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_CMapWordToPtr::GetAssocAt]
cmp ax, 0x5c
je 0x42b96d
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_CMapWordToPtr::GetAssocAt]
cmp ax, 0x5c
je 0x42b991
push edi
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402cb4
test al, al
pop ecx
pop ecx
je 0x42ba2d
push dword [ebp - 0x30]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xb
call fcn.00405fbb
add esp, 0xc
mov edi, eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xd
call fcn.00405fbb
add esp, 0xc
mov ecx, dword [ebp - 0x48]
push edi
push eax
add ecx, 8
mov byte [ebp - 4], 0xe
call fcn.0042aa1b
mov ecx, eax
call dword [0x4fc954]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42ba5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42ba6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x1c]
jb 0x42b8ac
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
mov byte [ebp - 4], 0xf
call dword [ecx + 0x48]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
mov edi, str..torrent
push edi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
push edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402cb4
test al, al
pop ecx
pop ecx
je 0x42bb0e
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
add ecx, 8
call fcn.0042aa1b
mov ecx, eax
call dword [0x4fc954]
push dword [ebp - 0x44]
call sub.MFC71U.DLL_operator_new
pop ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x42bb49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x4c]
xor edi, edi
inc edi
mov eax, dword [esi]
push esi
mov byte [ebp - 4], bl
call dword [eax + 8]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8