Function at 0x403c30
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4068e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 5
push ebx
push ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], ebx
call sub.MFC42.DLL_COleDateTimeSpan::SetDateTimeSpan
lea eax, [ebp - 0x50]
push eax
call sub.MFC42.DLL_COleDateTime::GetTickCount
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call sub.MFC42.DLL_COleDateTime::operator_
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00403f30
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push ecx
push 0x407364
push 1
push ebx
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
lea ecx, [ebp - 0x18]
jge 0x403cfc
call fcn.00403f30
lea ecx, [ebp - 0x14]
call fcn.00403f30
jmp 0x403f08
call fcn.00403f30
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
cmp eax, ebx
jne 0x403d18
push 0x80004003
call fcn.004061e0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [edx + 0x1c]
test eax, eax
jge 0x403d40
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403e9a
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x403e9a
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x403d60
push 0x80004003
call fcn.004061e0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 1
push eax
call dword [edx + 0xc]
cmp eax, ebx
jl 0x403e59
mov eax, dword [ebp - 0x20]
inc edi
cmp eax, ebx
je 0x403e59
cmp dword [ebp - 0x74], ebx
je 0x403d4c
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ebx
call sub.MFC42.DLL_COleDateTime::operator
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
push eax
call fcn.004047f0
cmp eax, ebx
je 0x403e40
mov ecx, dword [ebp - 0x74]
mov eax, str.www.booktopia.com
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x403e40
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x403de5
push 0x80004003
call fcn.004061e0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jne 0x403e02
push 0x80004003
call fcn.004061e0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x403e1b
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x74]
push eax
call esi
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x403d4c
push eax
call esi
jmp 0x403d4c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x403e74
push 0x80004003
call fcn.004061e0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jne 0x403e91
push 0x80004003
call fcn.004061e0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x403f08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x403f08
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret