Function at 0x452410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4d4
push ebx
push esi
push edi
xor esi, esi
push 0x413
lea eax, [esp + 0xcd]
push esi
push eax
xor edi, edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc8], 0x100
mov dword [esp + 0xc0], esi
mov byte [esp + 0xd4], 0
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 0xc]
add esp, 0xc
push esi
push esi
push 0x3ff
lea ecx, [esp + 0xd4]
push ecx
push 0xffffffffffffffff
push edx
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xcc]
push ecx
mov dword [esp + 0x40], esi
call fcn.00445460
mov eax, dword [esp + 0x40]
add esp, 8
cmp eax, esi
je 0x452be8
lea edx, [esp + 0x3c]
push edx
push esi
push esi
push 0xffffffffffffffff
push str.SELECT_moz_historyvisits.id__moz_places.url__moz_places.title__moz_places.visit_count__moz_historyvisits.visit_date__moz_historyvisits.visit_type__moz_historyvisits.from_visit_FROM_moz_historyvisits_LEFT_OUTER_JOIN_moz_places_ON_moz_historyvisits.place_id__moz_places.id
lea esi, [esp + 0x30]
call fcn.00449a60
mov ebx, dword [esp + 0x30]
add esp, 0x14
mov eax, ebx
call fcn.0044df10
cmp eax, 0x64
jne 0x452bc4
lea esp, [esp]
call fcn.00451040
cmp dword [0x47c2f0], 0
jne 0x452bc4
xor eax, eax
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.0041cac0
mov edi, 2
mov dword [esp + 0xa8], eax
call fcn.0041cac0
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x3c], eax
je 0x4525cd
cmp dword [ebx + 0x14], esi
je 0x45258a
cmp word [ebx + 0x54], 3
jbe 0x45258a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x452582
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
add edx, 0x78
jmp 0x4525d2
mov eax, dword [ebx]
cmp eax, esi
je 0x4525cd
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x4525a1
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, esi
je 0x4525cd
test word [eax + 8], 0x2460
je 0x4525c7
mov esi, eax
call fcn.00410ef0
xor esi, esi
jmp 0x4525cd
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x4525e9
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x452638
test al, 8
je 0x4525fc
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jmp 0x452638
test al, 0x12
je 0x452630
mov cl, byte [edx + 0xa]
lea eax, [esp + 0x58]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.00409da0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x452638
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
cmp ebx, esi
je 0x4526db
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x45265a
cmp ecx, 0xc0a
je 0x45265a
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x45265f
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x452675
push eax
call dword [0x47a064]
add esp, 4
cmp dword [ebx + 0x14], esi
je 0x452698
cmp word [ebx + 0x54], si
jbe 0x452698
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, esi
je 0x452693
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
jmp 0x4526e0
mov eax, dword [ebx]
cmp eax, esi
je 0x4526db
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x4526af
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, esi
je 0x4526db
test word [eax + 8], 0x2460
je 0x4526d5
mov esi, eax
call fcn.00410ef0
xor esi, esi
jmp 0x4526db
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x4526f3
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x6c], edx
jmp 0x452738
test al, 8
je 0x452702
mov eax, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp + 0x6c], eax
jmp 0x452738
test al, 0x12
je 0x452732
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x40]
push ecx
mov cl, byte [edx + 0xa]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00409da0
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x6c], edx
jmp 0x452738
xor edi, edi
mov dword [esp + 0x6c], esi
cmp ebx, esi
je 0x4527e2
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x45275a
cmp ecx, 0xc0a
je 0x45275a
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x45275f
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
xor esi, esi
cmp eax, esi
je 0x452777
push eax
call dword [0x47a064]
add esp, 4
cmp dword [ebx + 0x14], esi
je 0x4527a1
cmp word [ebx + 0x54], 4
jbe 0x4527a1
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, esi
je 0x452796
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
add edx, 0xa0
jmp 0x4527e9
mov eax, dword [ebx]
cmp eax, esi
je 0x4527e2
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4527b8
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
test eax, eax
je 0x4527e2
test word [eax + 8], 0x2460
je 0x4527dc
mov esi, eax
call fcn.00410ef0
jmp 0x4527e2
mov word [eax + 8], 1
mov edx, 0x472cc0
xor esi, esi
movzx eax, word [edx + 8]
test al, 4
je 0x452800
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x45284f
test al, 8
je 0x452813
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x45284f
test al, 0x12
je 0x452847
mov cl, byte [edx + 0xa]
lea eax, [esp + 0x48]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.00409da0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jmp 0x45284f
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x4528f9
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x452871
cmp ecx, 0xc0a
je 0x452871
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x452876
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
xor esi, esi
cmp eax, esi
je 0x45288e
push eax
call dword [0x47a064]
add esp, 4
cmp dword [ebx + 0x14], esi
je 0x4528b8
cmp word [ebx + 0x54], 5
jbe 0x4528b8
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, esi
je 0x4528ad
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
add edx, 0xc8
jmp 0x452900
mov eax, dword [ebx]
cmp eax, esi
je 0x4528f9
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4528cf
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
test eax, eax
je 0x4528f9
test word [eax + 8], 0x2460
je 0x4528f3
mov esi, eax
call fcn.00410ef0
jmp 0x4528f9
mov word [eax + 8], 1
mov edx, 0x472cc0
xor esi, esi
movzx eax, word [edx + 8]
test al, 4
je 0x452917
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x452966
test al, 8
je 0x45292a
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x452966
test al, 0x12
je 0x45295e
mov cl, byte [edx + 0xa]
lea eax, [esp + 0x50]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00409da0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x452966
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
cmp ebx, esi
je 0x452a10
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x452988
cmp ecx, 0xc0a
je 0x452988
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x45298d
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
xor esi, esi
cmp eax, esi
je 0x4529a5
push eax
call dword [0x47a064]
add esp, 4
cmp dword [ebx + 0x14], esi
je 0x4529cf
cmp word [ebx + 0x54], 6
jbe 0x4529cf
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, esi
je 0x4529c4
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
add edx, 0xf0
jmp 0x452a17
mov eax, dword [ebx]
cmp eax, esi
je 0x452a10
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4529e6
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
test eax, eax
je 0x452a10
test word [eax + 8], 0x2460
je 0x452a0a
mov esi, eax
call fcn.00410ef0
jmp 0x452a10
mov word [eax + 8], 1
mov edx, 0x472cc0
xor esi, esi
movzx eax, word [edx + 8]
test al, 4
je 0x452a2e
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x452a7d
test al, 8
je 0x452a41
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x452a7d
test al, 0x12
je 0x452a75
mov cl, byte [edx + 0xa]
lea eax, [esp + 0x60]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.00409da0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x452a7d
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
cmp ebx, esi
je 0x452ab6
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x452a9b
cmp ecx, 0xc0a
je 0x452a9b
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x452aa0
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x452ab6
push eax
call dword [0x47a064]
add esp, 4
xor eax, eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov word [esp + 0x7e], ax
mov eax, 1
push ecx
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0xa4], edi
mov word [esp + 0x78], 0x7b2
mov word [esp + 0x7e], ax
mov word [esp + 0x7a], ax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc4]
xor ecx, ecx
push ecx
push 0xa
xor esi, esi
or esi, eax
mov eax, dword [esp + 0x18]
push edx
push eax
or edi, ecx
call fcn.0046e8a0
mov ecx, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0x28]
adc edi, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
test eax, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x98], edx
je 0x452b66
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x452b9f
push 0xfde9
push 0xffffffffffffffff
push eax
lea esi, [esp + 0xb8]
call fcn.0045ea80
mov eax, dword [esp + 0xac]
test eax, eax
mov dword [esp + 0x94], 0x46f57c
je 0x452b9f
mov dword [esp + 0x94], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x80]
push eax
call edx
mov eax, ebx
call fcn.0044df10
cmp eax, 0x64
mov edi, dword [esp + 0x1c]
je 0x4524e0
mov eax, ebx
call fcn.004499a0
mov eax, dword [esp + 0x38]
call fcn.00444220
mov eax, dword [esp + 0xac]
test eax, eax
je 0x452be8
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8