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

Disassembly:
push 0xffffffffffffffff
push 0x52e770
mov eax, dword fs:[0]
push eax
sub esp, 0xaa8
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0xaa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0xabc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xacc]
push 1
lea esi, [ebx + 0x66c]
push esi
mov eax, str.BKLayout
mov dword [esp + 0x20], ebx
call fcn.004b59f0
push 1
mov dword [ebx + 0x8e8], eax
push esi
mov eax, str.MenuLayout1
call fcn.004b59f0
mov ecx, dword [ebx + 0x8f4]
mov dword [ebx + 0x8ec], eax
mov esi, dword [ebx + 0x8f0]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
cmp esi, ecx
mov ebp, 0xc8
mov edi, esi
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x8f4], ecx
jle 0x40c293
mov eax, esi
cdq
idiv ecx
mov edi, ecx
test edx, edx
jle 0x40c28b
inc eax
imul eax, eax, 0xc8
mov ebp, eax
mov eax, dword [ebx + 0x900]
sub eax, 0
je 0x40c2be
sub eax, 2
je 0x40c2b0
sub eax, 1
jne 0x40c2c4
sub dword [ebx + 0x8fc], edi
jmp 0x40c2c4
sub dword [ebx + 0x8f8], ebp
sub dword [ebx + 0x8fc], edi
jmp 0x40c2c4
sub dword [ebx + 0x8f8], ebp
mov esi, ebx
mov ecx, dword [esi + 0x8fc]
mov edx, dword [esi + 0x8f8]
mov eax, dword [esi + 4]
xor ebx, ebx
push ebx
push edi
push ebp
push ecx
push edx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x8ec]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], vtable.Converter::Converters.0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
push 0x800
lea ecx, [esp + 0x2b8]
push ebx
push ecx
mov dword [esp + 0xad0], ebx
call fcn.0050e6a0
mov edx, dword [esi + 0x908]
add esp, 0xc
push edx
lea eax, [esp + 0x2b8]
push str.select__from_main.bookmark_main_where_11_and_bm_parent_d__order_by_bm_prev_asc
push eax
call fcn.0050a7b8
add esp, 0xc
lea ecx, [esp + 0x2b4]
push ecx
lea eax, [esp + 0x44]
call fcn.00409b30
mov byte [esp + 0xac4], 1
mov ebx, dword [esp + 0x48]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
cmp ebx, edi
je 0x40c88a
jmp 0x40c370
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp byte [esp + 0x4c], 0
jne 0x40cafa
mov eax, dword [esi + 0x904]
cmp ecx, eax
jge 0x40c397
inc dword [esp + 0x14]
lea esi, [esp + 0x40]
call fcn.004097c0
jmp 0x40c87e
sub ecx, eax
mov eax, ecx
cdq
idiv dword [esp + 0x3c]
test edx, edx
jne 0x40c436
cmp ecx, edi
jle 0x40c436
push 0x6a4
call fcn.0050a753
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0xac4], 2
cmp eax, edi
je 0x40c3d6
call fcn.004d6bb0
mov esi, eax
jmp 0x40c3d8
xor esi, esi
mov byte [esp + 0xac4], 1
mov eax, 0xffb9b9b9
mov dword [esp + 0x1c], esi
cmp dword [esi + 0x610], eax
je 0x40c3fe
mov dword [esi + 0x610], eax
mov eax, esi
call fcn.004c6aa0
mov eax, 1
cmp dword [esi + 0x63c], eax
je 0x40c418
mov dword [esi + 0x63c], eax
mov eax, esi
call fcn.004c6aa0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x8e8]
lea ecx, [eax + 0x64c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
call edx
mov esi, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], edi
mov dword [esp + 0x174], edi
mov byte [esp + 0x2a8], 1
mov dword [esp + 0x2ac], edi
mov dword [esp + 0x2b0], edi
push edi
lea eax, [esi + 0x14]
add esi, 0x18
push esi
push eax
push edi
push ecx
mov eax, esp
mov byte [esp + 0xad8], 3
lea ecx, [esp + 0x180]
mov dword [esp + 0x34], esp
mov dword [eax], 0x5340fc
call fcn.004b6c20
mov ebp, eax
cmp ebp, edi
je 0x40c841
test ebx, ebx
je 0x40c8c9
mov eax, dword [esp + 0x50]
dec eax
cmp eax, 5
mov dword [esp + 0x20], eax
jl 0x40c908
push 5
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c4c7
mov eax, 0x5331a8
jmp 0x40c4d2
push 5
push ebx
call fcn.0045d5b0
add esp, 8
push eax
call fcn.0040e230
mov ecx, eax
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40c500
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xd0]
call fcn.00403ac0
mov byte [esp + 0xac4], 4
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x40c537
lea eax, [esp + 0xcc]
push eax
lea edi, [esp + 0x34]
call fcn.00408760
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
mov esi, dword [esp + 0x20]
test esi, esi
jl 0x40c950
push 0
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c56c
xor eax, eax
jmp 0x40c577
push 0
push ebx
call fcn.0045d4e0
add esp, 8
cmp esi, 1
mov dword [ebp + 0xb68], eax
jl 0x40c98f
push 1
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c59a
xor eax, eax
jmp 0x40c5a5
push 1
push ebx
call fcn.0045d4e0
add esp, 8
cmp esi, 2
mov dword [ebp + 0xb6c], eax
jl 0x40c9ce
push 2
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c5c8
xor eax, eax
jmp 0x40c5d3
push 2
push ebx
call fcn.0045d4e0
add esp, 8
cmp esi, 3
mov dword [ebp + 0xb70], eax
jl 0x40ca19
push 3
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c5f6
xor eax, eax
jmp 0x40c601
push 3
push ebx
call fcn.0045d4e0
add esp, 8
cmp esi, 4
mov dword [ebp + 0xb74], eax
jl 0x40ca64
push 4
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c624
xor eax, eax
jmp 0x40c62f
push 4
push ebx
call fcn.0045d4e0
add esp, 8
push 5
push ebx
mov dword [ebp + 0xb78], eax
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c64c
mov eax, 0x5331a8
jmp 0x40c657
push 5
push ebx
call fcn.0045d5b0
add esp, 8
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40c660
sub ecx, esi
push ecx
push eax
lea ecx, [ebp + 0xb7c]
call fcn.00403ac0
cmp dword [esp + 0x20], 6
jl 0x40caaf
push 6
push ebx
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40c698
mov eax, 0x5331a8
jmp 0x40c6a3
push 6
push ebx
call fcn.0045d5b0
add esp, 8
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40c6a8
sub ecx, esi
push ecx
lea esi, [ebp + 0xb98]
push eax
mov ecx, esi
call fcn.00403ac0
lea ecx, [esp + 0xe8]
xor edx, edx
mov dword [esp + 0xe4], ecx
mov word [esp + 0xe8], dx
mov byte [esp + 0xac4], 5
cmp dword [ebp + 0xb78], 1
jne 0x40c701
push 0xffffffffffffffff
push str.filefolder.png_dest5_5_21_21
lea esi, [esp + 0xec]
call fcn.004b50c0
jmp 0x40c7a1
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
mov edi, 0x10
mov byte [esp + 0xac4], 6
cmp dword [esi + 0x18], edi
jb 0x40c736
mov ecx, dword [esi + 4]
jmp 0x40c739
lea ecx, [esi + 4]
lea eax, [esp + 0xac]
push eax
call fcn.0040ddb0
mov eax, dword [esp + 0xb4]
add esp, 4
cmp dword [esp + 0xc4], edi
jae 0x40c760
lea eax, [esp + 0xb0]
push eax
lea edi, [esp + 0x34]
call fcn.00408760
push eax
push str.file_s_dest5_5_21_21
lea edi, [esp + 0xec]
call fcn.004b5630
add esp, 8
mov byte [esp + 0xac4], 5
cmp dword [esp + 0xc4], 0x10
jb 0x40c7a1
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0050a226
add esp, 4
mov eax, dword [esp + 0xe4]
push ebp
call fcn.004c5dc0
cmp dword [ebp + 0xb78], 0
je 0x40c7ee
mov eax, 0x19
mov dword [ebp + 0x65c], eax
mov ecx, 3
mov edx, eax
mov dword [ebp + 0x660], ecx
xor esi, esi
mov dword [ebp + 0x664], edx
mov eax, ebp
mov dword [ebp + 0xbb4], 1
mov dword [ebp + 0x668], esi
call fcn.004c6aa0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x64c]
mov eax, dword [edx + 0x10]
add ecx, 0x64c
push ebp
call eax
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xe8]
cmp eax, ecx
je 0x40c81f
push eax
call fcn.0050a8b9
add esp, 4
mov byte [esp + 0xac4], 3
cmp dword [esp + 0xe0], 0x10
jb 0x40c841
mov edx, dword [esp + 0xcc]
push edx
call fcn.0050a226
add esp, 4
lea esi, [esp + 0x40]
call fcn.004097c0
inc dword [esp + 0x14]
mov byte [esp + 0xac4], 1
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x40c86a
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [esp + 0x170]
test eax, eax
je 0x40c87e
push eax
call fcn.0050a8b9
add esp, 4
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x40c366
push str.Null_Virtual_Machine_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x34], vtable.CppSQLite3Exception.0
mov dword [esp + 0x38], 0x3e8
call fcn.0043d3c0
add esp, 0x10
mov dword [esp + 0x2c], eax
push 0x554068
lea eax, [esp + 0x28]
push eax
call fcn.0050ea1b
push str.Null_Virtual_Machine_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x34], vtable.CppSQLite3Exception.0
mov dword [esp + 0x38], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x34], eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x80], vtable.CppSQLite3Exception.0
mov dword [esp + 0x84], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x80], eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x74], vtable.CppSQLite3Exception.0
mov dword [esp + 0x78], 0x3e8
call fcn.0043d3c0
add esp, 0x10
mov dword [esp + 0x6c], eax
push 0x554068
lea eax, [esp + 0x68]
push eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x68], vtable.CppSQLite3Exception.0
mov dword [esp + 0x6c], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x68], eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0xb0], vtable.CppSQLite3Exception.0
mov dword [esp + 0xb4], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0xb0], eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0xa4], vtable.CppSQLite3Exception.0
mov dword [esp + 0xa8], 0x3e8
call fcn.0043d3c0
add esp, 0x10
mov dword [esp + 0x9c], eax
push 0x554068
lea eax, [esp + 0x98]
push eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x8c], vtable.CppSQLite3Exception.0
mov dword [esp + 0x90], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x8c], eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x98], vtable.CppSQLite3Exception.0
mov dword [esp + 0x9c], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x98], eax
call fcn.0050ea1b
lea edi, [esp + 0x40]
call fcn.00409890
mov esi, dword [esp + 0x34]
test esi, esi
je 0x40cb1a
push esi
call fcn.0050a226
add esp, 4
xor esi, esi
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0xac4], 0
call fcn.00409570
test esi, esi
je 0x40cb38
push esi
call fcn.0050a226
add esp, 4
mov ecx, dword [esp + 0xabc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xaa0]
xor ecx, esp
call fcn.0050a231
add esp, 0xab4
ret 4