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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aed19
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x606c40]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
call dword [0x5b13f0]
mov esi, dword [ebp + 8]
sub eax, dword [esi + 0x360]
cmp eax, 0x32
jae 0x49caa3
xor eax, eax
jmp 0x49cfb8
mov ecx, dword [esi + 0x35c]
xor edi, edi
cmp ecx, edi
je 0x49cacb
call fcn.00518c53
test eax, eax
je 0x49cacb
mov ecx, dword [esi + 0x35c]
call fcn.00521e67
xor eax, eax
inc eax
jmp 0x49cfb8
push 0x174
mov dword [esp + 0x2c], edi
call fcn.0057db2c
pop ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x78], edi
cmp eax, edi
je 0x49caf9
push 0xffffffffffffffff
push edi
push 0xffffffffffffffff
push edi
push edi
push eax
call fcn.00510bd9
mov dword [esp + 0x10], eax
jmp 0x49cafd
mov dword [esp + 0x10], edi
or dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x10], edi
je 0x49cfb4
push str.downlist_del
call fcn.00503907
mov dword [esp + 0x30], eax
mov dword [esp], str.listitem
call fcn.00503941
or dword [esp + 0x18], 0xffffffff
pop ecx
push edi
mov edi, dword [esi + 0x354]
lea ebx, [esp + 0x20]
mov dword [esp + 0x28], eax
call fcn.0050cd3e
lea ebx, [esi + 0x378]
mov dword [esp + 0x78], 1
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
push 0x14
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebx
test eax, eax
jbe 0x49cc8f
push dword [esp + 0x18]
mov esi, ebx
call fcn.004d4f57
mov edi, eax
push 0x174
mov dword [esp + 0x38], edi
call fcn.0057db2c
pop ecx
mov dword [esp + 0x30], eax
xor esi, esi
mov byte [esp + 0x78], 2
cmp eax, esi
je 0x49cbb5
mov edx, dword [ebp + 8]
push 0x64
push dword [esp + 0x30]
push dword [edi + 0xc]
call fcn.0049d1b5
push eax
push esi
push dword [esp + 0x44]
call fcn.00510bd9
mov esi, eax
mov byte [esp + 0x78], 1
test esi, esi
je 0x49cc70
push str.addrlist_title
push str.addrlist_select
or eax, 0xffffffff
push str.addrlist_url
push eax
push eax
xor ebx, ebx
mov edi, eax
call fcn.0050a2ea
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49cbf9
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], str.listitem
jmp 0x49cc03
mov edi, str.listitem
call fcn.0050a2c7
mov ebx, dword [esp + 0x34]
mov edi, dword [ebx + 8]
test edi, edi
je 0x49cc19
mov eax, dword [ebx]
push 1
call fcn.00509cd3
jmp 0x49cc32
mov edi, str.bookmark_folder
push edi
call fcn.00503907
pop ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0x24]
push 0xffffffffffffffff
push 1
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
push esi
call fcn.0050a096
cmp dword [esp + 0x14], 0xffffffff
mov esi, eax
jne 0x49cc6c
mov edx, dword [ebp + 8]
mov edi, ebx
call fcn.0049d1b5
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ce89
test eax, eax
jne 0x49cc6c
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
push 0x14
cdq
pop ecx
idiv ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], eax
jb 0x49cb6c
mov esi, dword [ebp + 8]
xor edi, edi
lea ebx, [esi + 0x390]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
push 0x14
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebx
test eax, eax
jbe 0x49cdd1
push dword [esp + 0x18]
mov esi, ebx
call fcn.004d4f57
mov edi, eax
push 0x174
mov dword [esp + 0x34], edi
call fcn.0057db2c
pop ecx
mov dword [esp + 0x34], eax
xor esi, esi
mov byte [esp + 0x78], 3
cmp eax, esi
je 0x49ccf7
mov edx, dword [ebp + 8]
push 0x64
push esi
push dword [edi + 0xc]
call fcn.0049d1b5
push eax
push esi
push dword [esp + 0x48]
call fcn.00510bd9
mov esi, eax
mov byte [esp + 0x78], 1
test esi, esi
je 0x49cdb2
push str.addrlist_title
push str.addrlist_select
or eax, 0xffffffff
push str.addrlist_url
push eax
push eax
xor ebx, ebx
mov edi, eax
call fcn.0050a2ea
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49cd3b
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], str.listitem
jmp 0x49cd45
mov edi, str.listitem
call fcn.0050a2c7
mov ebx, dword [esp + 0x30]
mov edi, dword [ebx + 8]
test edi, edi
je 0x49cd5b
mov eax, dword [ebx]
push 1
call fcn.00509cd3
jmp 0x49cd74
mov edi, str.bookmark_folder
push edi
call fcn.00503907
pop ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0x24]
push 0xffffffffffffffff
push 1
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
push esi
call fcn.0050a096
cmp dword [esp + 0x14], 0xffffffff
mov esi, eax
jne 0x49cdae
mov edx, dword [ebp + 8]
mov edi, ebx
call fcn.0049d1b5
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ce89
test eax, eax
jne 0x49cdae
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
push 0x14
cdq
pop ecx
idiv ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], eax
jb 0x49ccb1
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, dword [esi + 0x354]
mov eax, dword [ecx]
push edi
push 1
call dword [eax + 0xa0]
cmp dword [esi + 0x35c], edi
jne 0x49ce1a
push 8
call fcn.0057db2c
pop ecx
mov dword [esp + 0x34], eax
mov byte [esp + 0x78], 4
cmp eax, edi
je 0x49ce0d
mov esi, eax
call fcn.00521d23
mov esi, dword [ebp + 8]
xor edi, edi
jmp 0x49ce0f
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [esi + 0x35c], eax
mov eax, dword [esi + 0x35c]
cmp eax, edi
je 0x49cf9e
call fcn.00521db7
mov eax, dword [esi + 0x35c]
push 0xffffffffffffffff
push dword [esp + 0x14]
call fcn.00521dd2
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x35c]
call fcn.00521dee
mov eax, dword [esi + 0x354]
cmp eax, edi
je 0x49ce5f
lea ecx, [eax + 0x10c]
jmp 0x49ce61
xor ecx, ecx
mov eax, dword [esi + 0x35c]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x49ce74
mov dword [eax + 0x80], ecx
mov eax, dword [esi + 0x35c]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x20]
cmp eax, edi
je 0x49ce8a
mov dword [eax + 0x84], ecx
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
push ecx
lea edi, [esi + 0x48]
mov eax, dword [edi]
push 0x3ea
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
je 0x49cfa8
mov eax, dword [edi]
push 1
lea ecx, [esp + 0x4c]
push ecx
push 0x3f0
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
je 0x49cfa8
mov eax, dword [esp + 0x50]
inc dword [esp + 0x38]
mov dword [esp + 0x40], eax
lea edi, [esi + 4]
lea eax, [esp + 0x38]
call fcn.0049dafa
push dword [edi]
mov ecx, dword [esi + 0x35c]
lea eax, [esp + 0x3c]
push eax
call fcn.00521d94
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49cf88
lea edi, [esp + 0x58]
call fcn.0049fa0b
mov eax, edi
push eax
mov ecx, ebx
mov eax, esi
mov byte [esp + 0x7c], 5
call fcn.0049d122
test eax, eax
je 0x49cf70
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
je 0x49cf46
mov ecx, dword [esi + 0x358]
mov dword [ecx + 0x24], eax
jmp 0x49cf65
mov edi, dword [esi + 0x358]
mov ebx, str.bookmark_folder
push ebx
call fcn.00503907
pop ecx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], 1
mov dword [edi + 0x2c], ebx
mov eax, dword [esi + 0x354]
call fcn.0050d504
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
call fcn.0040758d
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.0040758d
call dword [0x5b13f0]
mov dword [esi + 0x360], eax
mov dword [esp + 0x28], 1
jmp 0x49cfa8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040758d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4