Function at 0x4a1011
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 + 0x168]
cmp eax, 0x32
jae 0x4a1058
xor eax, eax
jmp 0x4a156d
mov ecx, dword [esi + 0x164]
xor edi, edi
cmp ecx, edi
je 0x4a1080
call fcn.00518c53
test eax, eax
je 0x4a1080
mov ecx, dword [esi + 0x164]
call fcn.00521e67
xor eax, eax
inc eax
jmp 0x4a156d
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 0x4a10ae
push 0xffffffffffffffff
push edi
push 0xffffffffffffffff
push edi
push edi
push eax
call fcn.00510bd9
mov dword [esp + 0x10], eax
jmp 0x4a10b2
mov dword [esp + 0x10], edi
or dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x10], edi
je 0x4a1569
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 + 0x15c]
lea ebx, [esp + 0x20]
mov dword [esp + 0x28], eax
call fcn.0050cd3e
lea ebx, [esi + 0x180]
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 0x4a1244
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 0x4a116a
mov edx, dword [ebp + 8]
push 0x64
push dword [esp + 0x30]
push dword [edi + 0xc]
call fcn.004a1699
push eax
push esi
push dword [esp + 0x44]
call fcn.00510bd9
mov esi, eax
mov byte [esp + 0x78], 1
test esi, esi
je 0x4a1225
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 0x4a11ae
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], str.listitem
jmp 0x4a11b8
mov edi, str.listitem
call fcn.0050a2c7
mov ebx, dword [esp + 0x34]
mov edi, dword [ebx + 8]
test edi, edi
je 0x4a11ce
mov eax, dword [ebx]
push 1
call fcn.00509cd3
jmp 0x4a11e7
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 0x4a1221
mov edx, dword [ebp + 8]
mov edi, ebx
call fcn.004a1699
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ce89
test eax, eax
jne 0x4a1221
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 0x4a1121
mov esi, dword [ebp + 8]
xor edi, edi
lea ebx, [esi + 0x198]
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 0x4a1386
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 0x4a12ac
mov edx, dword [ebp + 8]
push 0x64
push esi
push dword [edi + 0xc]
call fcn.004a1699
push eax
push esi
push dword [esp + 0x48]
call fcn.00510bd9
mov esi, eax
mov byte [esp + 0x78], 1
test esi, esi
je 0x4a1367
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 0x4a12f0
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], str.listitem
jmp 0x4a12fa
mov edi, str.listitem
call fcn.0050a2c7
mov ebx, dword [esp + 0x30]
mov edi, dword [ebx + 8]
test edi, edi
je 0x4a1310
mov eax, dword [ebx]
push 1
call fcn.00509cd3
jmp 0x4a1329
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 0x4a1363
mov edx, dword [ebp + 8]
mov edi, ebx
call fcn.004a1699
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ce89
test eax, eax
jne 0x4a1363
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 0x4a1266
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, dword [esi + 0x15c]
mov eax, dword [ecx]
push edi
push 1
call dword [eax + 0xa0]
cmp dword [esi + 0x164], edi
jne 0x4a13cf
push 8
call fcn.0057db2c
pop ecx
mov dword [esp + 0x34], eax
mov byte [esp + 0x78], 4
cmp eax, edi
je 0x4a13c2
mov esi, eax
call fcn.00521d23
mov esi, dword [ebp + 8]
xor edi, edi
jmp 0x4a13c4
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [esi + 0x164], eax
mov eax, dword [esi + 0x164]
cmp eax, edi
je 0x4a1553
call fcn.00521db7
mov eax, dword [esi + 0x164]
push 0xffffffffffffffff
push dword [esp + 0x14]
call fcn.00521dd2
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x164]
call fcn.00521dee
mov eax, dword [esi + 0x15c]
cmp eax, edi
je 0x4a1414
lea ecx, [eax + 0x10c]
jmp 0x4a1416
xor ecx, ecx
mov eax, dword [esi + 0x164]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x4a1429
mov dword [eax + 0x80], ecx
mov eax, dword [esi + 0x164]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x20]
cmp eax, edi
je 0x4a143f
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 0x4a155d
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 0x4a155d
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 + 0x164]
lea eax, [esp + 0x3c]
push eax
call fcn.00521d94
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a153d
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.004a1606
test eax, eax
je 0x4a1525
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
je 0x4a14fb
mov ecx, dword [esi + 0x160]
mov dword [ecx + 0x24], eax
jmp 0x4a151a
mov edi, dword [esi + 0x160]
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 + 0x15c]
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 + 0x168], eax
mov dword [esp + 0x28], 1
jmp 0x4a155d
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