Function at 0x461e60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cea50
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
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, 0x4de45c
mov eax, esi
xor ebx, ebx
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x461ec6
cmp dx, bx
je 0x461ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461ec6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x461ea0
xor eax, eax
jmp 0x461ecb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x461f1f
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 0x461ef0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x461ef0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00405810
push 0xffffffffffffffff
mov eax, esi
push ebx
push eax
mov dword [esp + 0x6c], ebx
lea eax, [edi + 0x57c]
jmp 0x462011
mov ecx, str.thumbhotimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x461f4c
cmp dx, bx
je 0x461f48
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461f4c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x461f26
xor eax, eax
jmp 0x461f51
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x461fb5
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x598]
mov dword [esp + 0x6c], 1
call fcn.00405240
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
cmp dword [esp + 0x34], 8
jb 0x46274c
mov eax, dword [esp + 0x20]
push eax
call fcn.004a85e6
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 0x461fe6
cmp dx, bx
je 0x461fe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461fe6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x461fc0
xor eax, eax
jmp 0x461feb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x46204f
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 2
push ecx
lea eax, [edi + 0x5b4]
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
cmp dword [esp + 0x34], 8
jb 0x46274c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a85e6
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 0x46207c
cmp dx, bx
je 0x462078
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46207c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462056
xor eax, eax
jmp 0x462081
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4620d6
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x5d0]
mov dword [esp + 0x6c], 3
call fcn.00405240
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x462106
cmp dx, bx
je 0x462102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462106
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4620e0
xor eax, eax
jmp 0x46210b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462160
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x4e4]
mov dword [esp + 0x6c], 4
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x46218d
cmp dx, bx
je 0x462189
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46218d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462167
xor eax, eax
jmp 0x462192
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4621e7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x500]
mov dword [esp + 0x6c], 5
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x462216
cmp dx, bx
je 0x462212
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462216
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4621f0
xor eax, eax
jmp 0x46221b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462270
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x51c]
mov dword [esp + 0x6c], 6
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x46229d
cmp dx, bx
je 0x462299
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46229d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462277
xor eax, eax
jmp 0x4622a2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4622f7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x538]
mov dword [esp + 0x6c], 7
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.004159c0
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, 0x4de4e8
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x462326
cmp dx, bx
je 0x462322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462326
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462300
xor eax, eax
jmp 0x46232b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x46238e
mov eax, dword [ebp + 0xc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46235d
cmp dx, bx
je 0x462359
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46235d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462337
xor eax, eax
jmp 0x462362
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp byte [edi + 0x4d0], al
je 0x46274c
mov byte [edi + 0x4d0], 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, 0x4d4a70
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4623bb
cmp dx, bx
je 0x4623b7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4623bb
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462395
xor eax, eax
jmp 0x4623c0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4623ea
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004acf71
add esp, 4
call fcn.004618d0
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 0x462417
cmp dx, bx
je 0x462413
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462417
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4623f1
xor eax, eax
jmp 0x46241c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462447
mov edx, dword [ebp + 0xc]
push edx
call fcn.004acf71
add esp, 4
mov dword [edi + 0x564], 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 0x462476
cmp dx, bx
je 0x462472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462476
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462450
xor eax, eax
jmp 0x46247b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x46251b
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.004ad16d
mov esi, eax
mov eax, dword [esp + 0x20]
push 0xa
lea edx, [esp + 0x24]
push edx
add eax, 2
push eax
call fcn.004ad16d
mov edx, dword [esp + 0x2c]
push 0xa
lea ecx, [esp + 0x30]
push ecx
add edx, 2
push edx
mov ebx, eax
call fcn.004ad16d
mov ecx, dword [esp + 0x38]
mov edi, eax
push 0xa
lea eax, [esp + 0x3c]
push eax
add ecx, 2
push ecx
call fcn.004ad16d
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x568], esi
mov dword [ecx + 0x56c], ebx
mov dword [ecx + 0x570], edi
add esp, 0x30
mov dword [ecx + 0x574], 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 0x462548
cmp dx, bx
je 0x462544
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462548
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462522
xor eax, eax
jmp 0x46254d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4625a2
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x604]
mov dword [esp + 0x6c], 8
call fcn.00405240
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x4625d6
cmp dx, bx
je 0x4625d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4625d6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4625b0
xor eax, eax
jmp 0x4625db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462630
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x620]
mov dword [esp + 0x6c], 9
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x46265d
cmp dx, bx
je 0x462659
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46265d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x462637
xor eax, eax
jmp 0x462662
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4626b7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x63c]
mov dword [esp + 0x6c], 0xa
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.004159c0
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 0x4626e6
cmp dx, bx
je 0x4626e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4626e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4626c0
xor eax, eax
jmp 0x4626eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462740
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x38]
call fcn.00404fb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
lea eax, [edi + 0x658]
mov dword [esp + 0x6c], 0xb
call fcn.00405240
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x38]
call fcn.004159c0
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.004426b0
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