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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9114
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20fc
call fcn.004e84e0
mov eax, dword [0x52ec00]
xor eax, esp
mov dword [esp + 0x20f8], eax
push ebx
push esi
push edi
mov eax, dword [0x52ec00]
xor eax, esp
push eax
lea eax, [esp + 0x2110]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0xffffffff
mov esi, ecx
je 0x4096a6
push dword [ebp + 8]
push esi
call fcn.00407e55
push dword [ebp + 0x1c]
mov edi, eax
push esi
call fcn.00407e55
mov dword [esp + 0x2c], eax
test edi, edi
je 0x4096a6
test eax, eax
je 0x4096a6
mov ebx, dword [edi + 0x14]
add edi, 8
lea esi, [esp + 0x14]
mov dword [esp + 0x34], edi
call fcn.0044f41b
mov edi, dword [esp + 0x34]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x24]
call fcn.0044f41b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x409248
cmp eax, dword [esp + 0x24]
je 0x40924d
call fcn.004d6d23
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
je 0x4096a6
lea esi, [esp + 0x14]
call fcn.00426ebc
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
je 0x409272
call fcn.0040a070
jmp 0x40922a
mov eax, dword [0x545cc4]
mov ecx, 0x545cc4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
and dword [esp + 0x2118], 0
lea edi, [esp + 0x3c]
call fcn.00407cd8
lea esi, [esp + 0x14]
mov byte [esp + 0x2118], 1
call fcn.00426ebc
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
call fcn.00426ebc
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
call fcn.00426ebc
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], eax
call fcn.00426ebc
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
call fcn.00426ebc
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
call fcn.00426ebc
add eax, 4
lea edi, [esp + 0x40]
call fcn.004099a7
call fcn.00426ebc
add eax, 8
lea edi, [esp + 0x44]
call fcn.004099a7
call fcn.00426ebc
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x58], eax
call fcn.00426ebc
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
call fcn.00426ebc
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
call fcn.00426ebc
mov ecx, dword [eax + 0x30]
mov ebx, dword [esp + 0x4c]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
cmp ebx, 0xffffffff
je 0x4093be
lea esi, [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.0040a0c8
call fcn.00426ebc
mov esi, dword [esp + 0x50]
mov dword [eax + 0x14], esi
xor eax, eax
push 0x1046
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.004dbcc0
add esp, 0xc
push ebx
push esi
push 0x510b18
mov ecx, 0x824
lea edi, [esp + 0x80]
call fcn.0040299a
mov eax, edi
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4093a1
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.00407be4
cmp dword [esp + 0x50], 0xffffffff
je 0x409436
push 1
lea esi, [esp + 0x20]
lea eax, [esp + 0x18]
call fcn.0040a09b
call fcn.00426ebc
mov dword [eax + 0x10], ebx
xor eax, eax
push 0x1046
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [esp + 0x50]
mov ecx, 0x824
push ebx
push 0x510b88
lea edi, [esp + 0x80]
call fcn.0040299a
mov eax, edi
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x409419
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.00407be4
push dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x18]
lea eax, [esp + 0x24]
call fcn.00409c5a
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x54], eax
jl 0x4094c5
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
add edi, 8
push 0x38
cdq
pop ecx
idiv ecx
cmp dword [ebp + 0x10], eax
jae 0x4094c5
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.0044f41b
push dword [ebp + 0x10]
lea esi, [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0040a09b
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, edi
call fcn.00409bdf
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.0044f41b
push dword [ebp + 0x10]
lea esi, [esp + 0x30]
jmp 0x4094fe
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
add edi, 8
push eax
mov eax, edi
call fcn.00409b78
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x38
cdq
pop ecx
idiv ecx
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.0044f41b
mov eax, dword [esp + 0x2c]
dec eax
push eax
lea esi, [esp + 0x38]
lea eax, [esp + 0x20]
call fcn.0040a09b
cmp dword [ebp + 0x14], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
je 0x40958f
lea esi, [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.0040a0c8
call fcn.00426ebc
mov esi, dword [esp + 0x3c]
mov dword [eax + 0x14], esi
xor eax, eax
mov ebx, 0x1046
push ebx
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp + 0x14]
mov ecx, 0x824
push esi
push 0x510b18
lea edi, [esp + 0x80]
call fcn.0040299a
mov eax, edi
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x409570
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.00407be4
jmp 0x409594
mov ebx, 0x1046
cmp dword [ebp + 0x18], 0xffffffff
je 0x40960a
push 1
lea esi, [esp + 0x20]
lea eax, [esp + 0x18]
call fcn.0040a09b
call fcn.00426ebc
mov esi, dword [esp + 0x3c]
mov dword [eax + 0x10], esi
xor eax, eax
push ebx
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp + 0x18]
mov ecx, 0x824
push esi
push 0x510b88
lea edi, [esp + 0x80]
call fcn.0040299a
mov eax, edi
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4095ed
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.00407be4
xor eax, eax
push ebx
mov word [esp + 0x10c0], ax
xor esi, esi
lea eax, [esp + 0x10c2]
push esi
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, 0x824
push dword [ebp + 0x1c]
lea edi, [esp + 0x10c4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push str.update_bookmark_main_set_bm_prev___d__bm_next___d__bm_parent___d_where_bm_id___d_
call fcn.0040299a
mov eax, edi
add esp, 0x14
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x409652
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x10c0]
push eax
lea eax, [esp + 0x2c]
call fcn.00407be4
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
push esi
push esi
push ecx
push 0x2711
lea ebx, [eax + eax + 2]
call fcn.00421fa3
mov edi, eax
call fcn.004220a3
lea esi, [esp + 0x3c]
call fcn.0044b8cc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00406ace
mov ecx, dword [esp + 0x2110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20f8]
xor ecx, esp
call fcn.004d5a7d
mov esp, ebp
pop ebp
ret 0x18