Function at 0x525189
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push 0x18
call fcn.00415d9b
pop ecx
test eax, eax
je 0x5251a7
mov ecx, eax
call fcn.0043cb74
jmp 0x5251a9
xor eax, eax
mov edx, dword [ebp + 8]
push ebx
xor ebx, ebx
inc ebx
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
je 0x5251be
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
push 0
lea eax, [ebp - 0x98]
push 0x16
push eax
call fcn.004c08f0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
add esp, 0xc
push eax
push 0x5e4180
push ebx
push 0
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0xc]
js 0x525467
test eax, eax
je 0x525467
push esi
push edi
push str.http:__
lea ecx, [ebp - 0xf8]
call fcn.00408fc4
push str.https:__
lea ecx, [ebp - 0xe0]
call fcn.00408fc4
push str.ftp:__
lea ecx, [ebp - 0xc8]
call fcn.00408fc4
push str.file:___
lea ecx, [ebp - 0xb0]
call fcn.00408fc4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
and dword [ebp - 8], 0
xor esi, esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x52543b
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
push 0x80000
push 0x60c5e0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x80]
push 0
push edx
push ebx
mov ecx, dword [eax]
inc esi
push eax
mov dword [ebp - 0x28], esi
call dword [ecx + 0xc]
test eax, eax
jne 0x52543b
and dword [ebp - 0x40], eax
and dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], 7
test esi, esi
je 0x5252c6
push esi
call fcn.0057e469
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00407cc7
push dword [ebp - 0x7c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x24], 0
and dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x10], 7
test esi, esi
je 0x5252f6
push esi
call fcn.0057e469
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00407cc7
push dword [ebp - 0x78]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea esi, [ebp - 0xf8]
push 0
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00442b00
add esp, 0xc
test al, al
jne 0x525321
add esi, 0x18
lea eax, [ebp - 0x98]
cmp esi, eax
jne 0x5252fc
jmp 0x5253a2
push 0x14
call fcn.00415d9b
pop ecx
test eax, eax
je 0x525338
mov ecx, eax
call fcn.0043ca6c
mov esi, eax
jmp 0x52533a
xor esi, esi
push 0x5e3f94
lea ecx, [ebp - 0x58]
call fcn.00408fc4
lea eax, [ebp - 0x40]
push eax
call fcn.0043ce02
pop ecx
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0043d487
lea ecx, [ebp - 0x58]
call fcn.00403d40
push str.title
lea ecx, [ebp - 0x58]
call fcn.00408fc4
lea eax, [ebp - 0x24]
push eax
call fcn.0043ce02
pop ecx
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0043d487
lea ecx, [ebp - 0x58]
call fcn.00403d40
mov ecx, dword [edi]
push esi
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
push eax
call fcn.0043de68
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x5253df
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x5253d6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x10], 7
and dword [ebp - 0x14], eax
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x52542c
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x525423
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
mov esi, dword [ebp - 0x28]
cmp esi, 0xc8
jl 0x52527c
mov eax, dword [ebp - 8]
test eax, eax
je 0x525448
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 4
pop esi
lea edi, [ebp - 0x98]
sub edi, 0x18
mov ecx, edi
call fcn.00403d40
sub esi, 1
jne 0x525451
mov eax, dword [ebp - 0xc]
pop edi
pop esi
jmp 0x525469
xor bl, bl
test eax, eax
je 0x525473
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x98]
call fcn.00403d40
mov al, bl
pop ebx
leave
ret 4