Function at 0x4ada20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511e50
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov esi, dword [ebp + 8]
mov ecx, 0x528274
mov eax, esi
xor ebx, ebx
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ada86
cmp dx, bx
je 0x4ada82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ada86
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ada60
xor eax, eax
jmp 0x4ada8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adadf
mov edx, dword [ebp + 0xc]
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea esi, [eax + 2]
jmp 0x4adab0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4adab0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00407330
push 0xffffffffffffffff
mov eax, esi
push ebx
push eax
mov dword [esp + 0x6c], ebx
lea eax, [edi + 0x578]
jmp 0x4adbd1
mov ecx, str.thumbhotimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adb0c
cmp dx, bx
je 0x4adb08
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adb0c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adae6
xor eax, eax
jmp 0x4adb11
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adb75
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x594]
mov dword [esp + 0x6c], 1
call fcn.00401610
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
cmp dword [esp + 0x34], 8
jb 0x4ae30c
mov eax, dword [esp + 0x20]
push eax
call fcn.004e7d7e
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.thumbpushedimage
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adba6
cmp dx, bx
je 0x4adba2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adba6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adb80
xor eax, eax
jmp 0x4adbab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adc0f
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 2
push ecx
lea eax, [edi + 0x5b0]
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
cmp dword [esp + 0x34], 8
jb 0x4ae30c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e7d7e
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.thumbdisabledimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adc3c
cmp dx, bx
je 0x4adc38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adc3c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adc16
xor eax, eax
jmp 0x4adc41
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adc96
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x5cc]
mov dword [esp + 0x6c], 3
call fcn.00401610
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.bknormalimage
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adcc6
cmp dx, bx
je 0x4adcc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adcc6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adca0
xor eax, eax
jmp 0x4adccb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4add20
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x4e0]
mov dword [esp + 0x6c], 4
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.bkhotimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4add4d
cmp dx, bx
je 0x4add49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4add4d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4add27
xor eax, eax
jmp 0x4add52
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adda7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x4fc]
mov dword [esp + 0x6c], 5
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.bkpushedimage
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4addd6
cmp dx, bx
je 0x4addd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4addd6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4addb0
xor eax, eax
jmp 0x4adddb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ade30
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x518]
mov dword [esp + 0x6c], 6
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.bkdisabledimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ade5d
cmp dx, bx
je 0x4ade59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ade5d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ade37
xor eax, eax
jmp 0x4ade62
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adeb7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x534]
mov dword [esp + 0x6c], 7
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x528300
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adee6
cmp dx, bx
je 0x4adee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adee6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adec0
xor eax, eax
jmp 0x4adeeb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adf4e
mov eax, dword [ebp + 0xc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adf1d
cmp dx, bx
je 0x4adf19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adf1d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adef7
xor eax, eax
jmp 0x4adf22
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp byte [edi + 0x4cc], al
je 0x4ae30c
mov byte [edi + 0x4cc], al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.value
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adf7b
cmp dx, bx
je 0x4adf77
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adf7b
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adf55
xor eax, eax
jmp 0x4adf80
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4adfaa
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ecdb7
add esp, 4
call fcn.004ad480
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.thumbsize
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4adfd7
cmp dx, bx
je 0x4adfd3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4adfd7
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4adfb1
xor eax, eax
jmp 0x4adfdc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ae007
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ecdb7
add esp, 4
mov dword [edi + 0x560], eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.inset
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ae036
cmp dx, bx
je 0x4ae032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae036
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ae010
xor eax, eax
jmp 0x4ae03b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ae0db
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push 0xa
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], ebx
call fcn.004ecfb3
mov esi, eax
mov eax, dword [esp + 0x20]
push 0xa
lea edx, [esp + 0x24]
push edx
add eax, 2
push eax
call fcn.004ecfb3
mov edx, dword [esp + 0x2c]
push 0xa
lea ecx, [esp + 0x30]
push ecx
add edx, 2
push edx
mov ebx, eax
call fcn.004ecfb3
mov ecx, dword [esp + 0x38]
mov edi, eax
push 0xa
lea eax, [esp + 0x3c]
push eax
add ecx, 2
push ecx
call fcn.004ecfb3
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x564], esi
mov dword [ecx + 0x568], ebx
mov dword [ecx + 0x56c], edi
add esp, 0x30
mov dword [ecx + 0x570], eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.leftbknormalimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ae108
cmp dx, bx
je 0x4ae104
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae108
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ae0e2
xor eax, eax
jmp 0x4ae10d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ae162
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x600]
mov dword [esp + 0x6c], 8
call fcn.00401610
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.leftbkhotimage
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ae196
cmp dx, bx
je 0x4ae192
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae196
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ae170
xor eax, eax
jmp 0x4ae19b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ae1f0
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x61c]
mov dword [esp + 0x6c], 9
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.leftbkpushedimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ae21d
cmp dx, bx
je 0x4ae219
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae21d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ae1f7
xor eax, eax
jmp 0x4ae222
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ae277
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x638]
mov dword [esp + 0x6c], 0xa
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.leftbkdisabledimage
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ae2a6
cmp dx, bx
je 0x4ae2a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ae2a6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ae280
xor eax, eax
jmp 0x4ae2ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4ae300
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x38]
call fcn.00406ac0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
lea eax, [edi + 0x654]
mov dword [esp + 0x6c], 0xb
call fcn.00401610
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x38]
call fcn.00481d30
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ecx
push esi
mov ecx, edi
call fcn.0048f320
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8