Function at 0x4050e0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x52e2ed
mov eax, dword fs:[0]
push eax
sub esp, 0xb40
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0xb38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0xb54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb64]
mov dword [esp + 0x18], 0
mov edi, ecx
mov ecx, dword [ebp + 0x868]
add ecx, 0x64c
mov dword [ebp + 0x864], 0xffffffff
mov eax, dword [ecx]
mov esi, edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], edi
call edx
mov eax, esi
lea edx, [eax + 2]
jmp 0x405160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405160
sub eax, edx
sar eax, 1
jne 0x4051bb
mov ecx, dword [ebp + 0x7d8]
sub ecx, dword [ebp + 0x7d0]
mov edx, dword [ebp + 0x7d4]
mov eax, dword [ebp + 4]
push 0x50
push 1
push ecx
mov ecx, dword [ebp + 0x7d0]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [edi + 4]
push 0xffffffffffffffff
xor edx, edx
push 0x533194
mov esi, edi
mov dword [edi], eax
mov word [eax], dx
call fcn.004b50c0
mov eax, edi
jmp 0x405c11
push 0x5336ac
push esi
mov dword [esp + 0x28], esi
call fcn.0050a835
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40520e
mov ecx, ebx
lea eax, [ecx + 2]
jmp 0x4051e0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4051e0
sub ecx, eax
mov edx, esi
sar ecx, 1
lea eax, [edx + 2]
mov di, word [edx]
add edx, 2
test di, di
jne 0x4051f4
sub edx, eax
sar edx, 1
cmp ecx, edx
jne 0x40520e
add ebx, 0xe
mov dword [esp + 0x20], ebx
push 0x5336bc
push esi
call fcn.0050a835
add esp, 8
test eax, eax
je 0x40525a
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405225
sub ecx, edi
mov edx, esi
sar ecx, 1
lea edi, [edx + 2]
lea esp, [esp]
mov si, word [edx]
add edx, 2
test si, si
jne 0x405240
sub edx, edi
sar edx, 1
cmp ecx, edx
jne 0x40525a
add eax, 0x10
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x20]
xor eax, eax
mov word [esp + 0xdc], ax
mov eax, esi
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405283
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0xe0]
call fcn.00406180
mov ecx, esi
mov edi, 1
push ecx
mov ecx, edi
xor edx, edx
lea esi, [esp + 0x88]
mov dword [esp + 0xb60], edi
call fcn.004060a0
mov byte [esp + 0xb5c], 2
mov ebx, 2
push eax
mov ecx, 0x5336d0
mov dword [esp + 0x1c], ebx
call fcn.004065a0
test eax, eax
je 0x4053a3
lea edx, [esp + 0xd8]
push edx
mov ecx, ebx
xor edx, edx
lea esi, [esp + 0x50]
call fcn.004060a0
mov dword [esp + 0xb5c], 3
push eax
mov ecx, 0x5336d4
mov dword [esp + 0x1c], 6
call fcn.004065a0
test eax, eax
je 0x40539f
lea eax, [esp + 0xd8]
push eax
lea ecx, [edi + 2]
xor edx, edx
lea esi, [esp + 0xa4]
call fcn.004060a0
mov dword [esp + 0xb5c], 4
push eax
mov ecx, 0x5336dc
mov dword [esp + 0x1c], 0xe
call fcn.004065a0
test eax, eax
je 0x40539f
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [edi + 3]
xor edx, edx
lea esi, [esp + 0xc0]
call fcn.004060a0
mov dword [esp + 0xb5c], 5
push eax
mov ecx, 0x5336e4
mov dword [esp + 0x1c], 0x1e
call fcn.004065a0
test eax, eax
je 0x40539f
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x1f], 1
jmp 0x4053a8
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x1f], 0
mov esi, 8
test bl, 0x10
je 0x4053f2
and ebx, 0xffffffef
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xd4], esi
jb 0x4053d2
mov edx, dword [esp + 0xc0]
push edx
call fcn.0050a226
add esp, 4
xor eax, eax
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], ax
test bl, 8
je 0x405437
and ebx, 0xfffffff7
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xb8], esi
jb 0x405417
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0050a226
add esp, 4
xor edx, edx
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], dx
test bl, 4
je 0x40546d
and ebx, 0xfffffffb
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x64], esi
jb 0x405456
mov eax, dword [esp + 0x50]
push eax
call fcn.0050a226
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
mov dword [esp + 0xb5c], edi
test bl, 2
je 0x405499
and ebx, 0xfffffffd
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x9c], esi
jb 0x405499
mov edx, dword [esp + 0x88]
push edx
call fcn.0050a226
add esp, 4
cmp byte [esp + 0x1f], 0
je 0x4054e9
lea eax, [esp + 0xd8]
push eax
lea edi, [esp + 0x88]
call fcn.00406490
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0xe4]
mov byte [esp + 0xb68], 6
call fcn.004060d0
cmp dword [esp + 0x9c], esi
jb 0x4054e9
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0050a226
add esp, 4
xor edi, edi
mov dword [esp + 0x2c], vtable.Converter::Converters.0
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
push 0x800
lea edx, [esp + 0x350]
push edi
push edx
mov byte [esp + 0xb68], 7
call fcn.0050e6a0
add esp, 0xc
lea eax, [esp + 0x34c]
push str.select__from_main.SiteDB_where_11
push eax
call fcn.0050a7b8
mov eax, dword [esp + 0x28]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x405535
sub eax, edx
sar eax, 1
je 0x4055fc
lea ecx, [esp + 0x180]
xor edx, edx
mov dword [esp + 0x17c], ecx
mov word [esp + 0x180], dx
mov byte [esp + 0xb5c], 8
mov eax, dword [esp + 0xdc]
cmp dword [esp + 0xf0], esi
jae 0x405581
lea eax, [esp + 0xdc]
push eax
push str._and__url_like____s__
lea edi, [esp + 0x184]
call fcn.004b5630
mov eax, dword [esp + 0x184]
add esp, 8
push eax
lea edi, [esp + 0x30]
call fcn.004086c0
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4055b0
lea edi, [esp + 0x34c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4055c1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0xb5c], 7
mov eax, dword [esp + 0x17c]
lea ecx, [esp + 0x180]
cmp eax, ecx
je 0x4055fc
push eax
call fcn.0050a8b9
add esp, 4
lea eax, [esp + 0x34c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405604
mov edx, dword [str._Limit_10]
mov ecx, dword [0x53374c]
mov dword [eax], edx
mov dx, word [0x533750]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x34c]
push ecx
lea eax, [esp + 0x50]
call fcn.00409b30
xor eax, eax
lea edx, [esp + 0xf8]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0xf4], edx
mov word [esp + 0xf8], cx
mov byte [esp + 0xb5c], 0xa
mov esi, dword [esp + 0x54]
cmp esi, eax
je 0x405a3d
xor edi, edi
jmp 0x405685
mov ebp, dword [esp + 0x28]
cmp byte [esp + 0x58], 0
mov ebx, dword [esp + 0x3c]
jne 0x405b45
mov dword [esp + 0x204], edi
mov dword [esp + 0x208], edi
mov dword [esp + 0x20c], edi
mov byte [esp + 0x340], 1
mov dword [esp + 0x344], edi
mov dword [esp + 0x348], edi
push edi
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x14]
push eax
push edi
push ecx
mov eax, esp
mov byte [esp + 0xb70], 0xb
lea ecx, [esp + 0x218]
mov dword [esp + 0x38], esp
mov dword [eax], str.AutoCompleteItem.xml
call fcn.004b6c20
cmp eax, edi
je 0x4059f2
mov ecx, dword [ebp + 0x868]
mov edx, dword [ecx + 0x64c]
add ecx, 0x64c
push eax
mov eax, dword [edx + 0x10]
call eax
cmp esi, edi
je 0x405a7c
mov eax, dword [esp + 0x5c]
dec eax
cmp eax, 1
mov dword [esp + 0x24], eax
jl 0x405abb
push 1
push esi
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x40573b
mov eax, 0x5331a8
jmp 0x405746
push 1
push esi
call fcn.0045d5b0
add esp, 8
push eax
call fcn.0040e230
mov ecx, eax
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], edi
mov byte [esp + 0xa4], 0
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x405770
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xa8]
call fcn.00403ac0
mov esi, dword [esp + 0x28]
push 1
add esi, 0x66c
push esi
mov eax, str.ItemIcon
mov byte [esp + 0xb64], 0xc
call fcn.004b59f0
push 1
mov dword [esp + 0x6c], eax
push esi
mov eax, str.ItemUrl
call fcn.004b59f0
push 1
mov ebp, eax
push esi
mov eax, str.ItemName
call fcn.004b59f0
cmp dword [esp + 0xb8], 0x10
mov ebx, eax
mov eax, dword [esp + 0xa4]
jae 0x4057e0
lea eax, [esp + 0xa4]
push eax
lea edi, [esp + 0x30]
call fcn.00408760
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
cmp dword [esp + 0x38], 0
jne 0x40586e
cmp dword [esp + 0xb8], 0x10
mov eax, dword [esp + 0xa4]
jae 0x405814
lea eax, [esp + 0xa4]
push eax
lea edi, [esp + 0x30]
call fcn.00408760
test eax, eax
je 0x405833
push 0xffffffffffffffff
push eax
lea esi, [esp + 0xfc]
call fcn.004b50c0
jmp 0x405866
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xf8]
cmp eax, ecx
je 0x40584e
push eax
call fcn.0050a8b9
add esp, 4
lea edx, [esp + 0xf8]
xor eax, eax
mov dword [esp + 0xf4], edx
mov word [esp + 0xf8], ax
mov dword [esp + 0x38], 1
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
mov byte [esp + 0xb5c], 0xd
mov ecx, dword [esp + 0xa4]
mov ebp, 0x10
cmp dword [esp + 0xb8], ebp
jae 0x4058b0
lea ecx, [esp + 0xa4]
lea edx, [esp + 0xbc]
push edx
call fcn.0040ddb0
mov eax, dword [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd4], ebp
jae 0x4058d7
lea eax, [esp + 0xc0]
push eax
lea edi, [esp + 0x30]
call fcn.00408760
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004c5dc0
cmp dword [esp + 0x24], 2
jl 0x405afd
mov esi, dword [esp + 0x54]
push 2
push esi
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x405911
mov eax, 0x5331a8
jmp 0x40591c
push 2
push esi
call fcn.0045d5b0
add esp, 8
push eax
call fcn.0040e230
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x405930
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xa8]
call fcn.00403ac0
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0xb8], ebp
jae 0x40595e
lea eax, [esp + 0xa4]
push eax
lea edi, [esp + 0x30]
call fcn.00408760
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x7d8]
sub ecx, dword [eax + 0x7d0]
mov esi, dword [ebx]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x5c]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0xd4], ebp
jb 0x4059b3
mov eax, dword [esp + 0xc0]
push eax
call fcn.0050a226
add esp, 4
mov byte [esp + 0xb5c], 0xb
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
cmp dword [esp + 0xb8], ebp
jb 0x4059f2
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0050a226
add esp, 4
lea esi, [esp + 0x4c]
call fcn.004097c0
inc dword [esp + 0x20]
mov byte [esp + 0xb5c], 0xa
mov eax, dword [esp + 0x204]
xor edi, edi
cmp eax, edi
je 0x405a1d
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [esp + 0x208]
cmp eax, edi
je 0x405a31
push eax
call fcn.0050a8b9
add esp, 4
mov esi, dword [esp + 0x54]
cmp esi, edi
jne 0x405681
push str.Null_Virtual_Machine_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x50], vtable.CppSQLite3Exception.0
mov dword [esp + 0x54], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x50], eax
call fcn.0050ea1b
push str.Null_Virtual_Machine_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x50], vtable.CppSQLite3Exception.0
mov dword [esp + 0x54], 0x3e8
call fcn.0043d3c0
add esp, 0x10
mov dword [esp + 0x48], eax
push 0x554068
lea eax, [esp + 0x44]
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 + 0x7c], vtable.CppSQLite3Exception.0
mov dword [esp + 0x80], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x7c], eax
call fcn.0050ea1b
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x88], vtable.CppSQLite3Exception.0
mov dword [esp + 0x8c], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x88], eax
call fcn.0050ea1b
lea edi, [esp + 0x4c]
call fcn.00409890
mov edi, dword [esp + 0x30]
test edi, edi
je 0x405b65
push edi
call fcn.0050a226
add esp, 4
xor edi, edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 4]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, dword [ebp + 0x7d8]
sub ecx, dword [ebp + 0x7d0]
push 0x50
add edx, edx
push edx
mov edx, dword [ebp + 0x7d4]
push ecx
mov ecx, dword [ebp + 0x7d0]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebx + 4]
xor edx, edx
mov dword [ebx], eax
mov word [eax], dx
mov eax, dword [esp + 0xf4]
push 0xffffffffffffffff
push eax
mov esi, ebx
call fcn.004b50c0
mov eax, dword [esp + 0xf4]
or dword [esp + 0x18], 1
lea ecx, [esp + 0xf8]
cmp eax, ecx
je 0x405bd7
push eax
call fcn.0050a8b9
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb5c], 7
call fcn.00409570
test edi, edi
je 0x405bf5
push edi
call fcn.0050a226
add esp, 4
cmp dword [esp + 0xf0], 8
jb 0x405c0f
mov edx, dword [esp + 0xdc]
push edx
call fcn.0050a226
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xb54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb38]
xor ecx, esp
call fcn.0050a231
add esp, 0xb4c
ret 4