Function at 0x47c950
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6680
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
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, 0x4d8304
mov eax, esi
xor ebx, ebx
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47c9b6
cmp dx, bx
je 0x47c9b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47c9b6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47c990
xor eax, eax
jmp 0x47c9bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47ca0f
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 0x47c9e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c9e0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00401700
push 0xffffffffffffffff
mov eax, esi
push ebx
push eax
mov dword [esp + 0x6c], ebx
lea eax, [edi + 0x574]
jmp 0x47cb01
mov ecx, str.thumbhotimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ca3c
cmp dx, bx
je 0x47ca38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ca3c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47ca16
xor eax, eax
jmp 0x47ca41
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47caa5
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x590]
mov dword [esp + 0x6c], 1
call fcn.004017d0
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
cmp dword [esp + 0x34], 8
jb 0x47d23c
mov eax, dword [esp + 0x20]
push eax
call fcn.004abbe4
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 0x47cad6
cmp dx, bx
je 0x47cad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cad6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cab0
xor eax, eax
jmp 0x47cadb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47cb3f
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 2
push ecx
lea eax, [edi + 0x5ac]
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
cmp dword [esp + 0x34], 8
jb 0x47d23c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004abbe4
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 0x47cb6c
cmp dx, bx
je 0x47cb68
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cb6c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cb46
xor eax, eax
jmp 0x47cb71
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47cbc6
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x5c8]
mov dword [esp + 0x6c], 3
call fcn.004017d0
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47cbf6
cmp dx, bx
je 0x47cbf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cbf6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cbd0
xor eax, eax
jmp 0x47cbfb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47cc50
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x4dc]
mov dword [esp + 0x6c], 4
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47cc7d
cmp dx, bx
je 0x47cc79
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cc7d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cc57
xor eax, eax
jmp 0x47cc82
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47ccd7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x4f8]
mov dword [esp + 0x6c], 5
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47cd06
cmp dx, bx
je 0x47cd02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cd06
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cce0
xor eax, eax
jmp 0x47cd0b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47cd60
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x514]
mov dword [esp + 0x6c], 6
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47cd8d
cmp dx, bx
je 0x47cd89
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cd8d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cd67
xor eax, eax
jmp 0x47cd92
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47cde7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x530]
mov dword [esp + 0x6c], 7
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00449530
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, 0x4d8390
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ce16
cmp dx, bx
je 0x47ce12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ce16
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cdf0
xor eax, eax
jmp 0x47ce1b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47ce7e
mov eax, dword [ebp + 0xc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ce4d
cmp dx, bx
je 0x47ce49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ce4d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47ce27
xor eax, eax
jmp 0x47ce52
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp byte [edi + 0x4c8], al
je 0x47d23c
mov byte [edi + 0x4c8], 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 0x47ceab
cmp dx, bx
je 0x47cea7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ceab
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47ce85
xor eax, eax
jmp 0x47ceb0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47ceda
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ad41e
add esp, 4
call fcn.0047c3c0
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 0x47cf07
cmp dx, bx
je 0x47cf03
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cf07
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cee1
xor eax, eax
jmp 0x47cf0c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47cf37
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ad41e
add esp, 4
mov dword [edi + 0x55c], 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 0x47cf66
cmp dx, bx
je 0x47cf62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47cf66
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47cf40
xor eax, eax
jmp 0x47cf6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47d00b
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.004ad8a9
mov esi, eax
mov eax, dword [esp + 0x20]
push 0xa
lea edx, [esp + 0x24]
push edx
add eax, 2
push eax
call fcn.004ad8a9
mov edx, dword [esp + 0x2c]
push 0xa
lea ecx, [esp + 0x30]
push ecx
add edx, 2
push edx
mov ebx, eax
call fcn.004ad8a9
mov ecx, dword [esp + 0x38]
mov edi, eax
push 0xa
lea eax, [esp + 0x3c]
push eax
add ecx, 2
push ecx
call fcn.004ad8a9
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x560], esi
mov dword [ecx + 0x564], ebx
mov dword [ecx + 0x568], edi
add esp, 0x30
mov dword [ecx + 0x56c], 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 0x47d038
cmp dx, bx
je 0x47d034
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d038
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47d012
xor eax, eax
jmp 0x47d03d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47d092
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [edi + 0x5fc]
mov dword [esp + 0x6c], 8
call fcn.004017d0
mov eax, dword [edi]
mov edx, dword [eax + 0x11c]
mov ecx, edi
call edx
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47d0c6
cmp dx, bx
je 0x47d0c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d0c6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47d0a0
xor eax, eax
jmp 0x47d0cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47d120
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x618]
mov dword [esp + 0x6c], 9
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47d14d
cmp dx, bx
je 0x47d149
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d14d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47d127
xor eax, eax
jmp 0x47d152
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47d1a7
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + 0x634]
mov dword [esp + 0x6c], 0xa
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x1c]
call fcn.00449530
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 0x47d1d6
cmp dx, bx
je 0x47d1d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d1d6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47d1b0
xor eax, eax
jmp 0x47d1db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47d230
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x38]
call fcn.004016b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
lea eax, [edi + 0x650]
mov dword [esp + 0x6c], 0xb
call fcn.004017d0
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
lea esi, [esp + 0x38]
call fcn.00449530
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.0043ddc0
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