Function at 0x47a7c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7190
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov esi, dword [ebp + 8]
mov ecx, 0x4d78f4
mov eax, esi
xor edi, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a826
cmp dx, di
je 0x47a822
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a826
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47a800
xor eax, eax
jmp 0x47a82b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47a87f
mov edx, dword [ebp + 0xc]
mov eax, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea esi, [eax + 2]
jmp 0x47a850
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a850
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x20]
call fcn.00401700
push 0xffffffffffffffff
mov eax, esi
push edi
push eax
mov dword [esp + 0x4c], edi
lea eax, [ebx + 0x56c]
jmp 0x47a971
mov ecx, str.splithotimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a8ac
cmp dx, di
je 0x47a8a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a8ac
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47a886
xor eax, eax
jmp 0x47a8b1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47a915
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.004016b0
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [ebx + 0x588]
mov dword [esp + 0x4c], 1
call fcn.004017d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x11c]
mov ecx, ebx
call edx
cmp dword [esp + 0x30], 8
jb 0x47ade2
mov eax, dword [esp + 0x1c]
push eax
call fcn.004abbe4
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.splitpushedimage
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a946
cmp dx, di
je 0x47a942
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a946
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47a920
xor eax, eax
jmp 0x47a94b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47a9af
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.004016b0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 2
push ecx
lea eax, [ebx + 0x5a4]
call fcn.004017d0
mov edx, dword [ebx]
mov eax, dword [edx + 0x11c]
mov ecx, ebx
call eax
cmp dword [esp + 0x30], 8
jb 0x47ade2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004abbe4
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.splitdisabledimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47a9dc
cmp dx, di
je 0x47a9d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47a9dc
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47a9b6
xor eax, eax
jmp 0x47a9e1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47aa36
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.004016b0
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [ebx + 0x5c0]
mov dword [esp + 0x4c], 3
call fcn.004017d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x11c]
mov ecx, ebx
call edx
lea esi, [esp + 0x18]
call fcn.00449530
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.split
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47aa66
cmp dx, di
je 0x47aa62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47aa66
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47aa40
xor eax, eax
jmp 0x47aa6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47aae0
mov eax, dword [ebp + 0xc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47aabb
cmp dx, di
je 0x47aa99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47aabb
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47aa77
xor eax, eax
cmp eax, edi
sete al
mov byte [ebx + 0x544], al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
sete al
mov byte [ebx + 0x544], al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.splitarea
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ab0d
cmp dx, di
je 0x47ab09
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ab0d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47aae7
xor eax, eax
jmp 0x47ab12
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47abbb
mov edx, dword [ebp + 0xc]
push 0xa
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
call fcn.004ad8a9
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov esi, eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.004ad8a9
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.004ad8a9
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov ebx, eax
call fcn.004ad8a9
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x548], esi
mov dword [ecx + 0x54c], edi
mov dword [ecx + 0x550], ebx
add esp, 0xc
mov dword [ecx + 0x554], eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.extendtextcolor
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47abe8
cmp dx, di
je 0x47abe4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47abe8
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47abc2
xor eax, eax
jmp 0x47abed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47ac30
mov eax, dword [ebp + 0xc]
cmp word [eax], 0x23
jne 0x47ac01
push eax
call dword [sym.imp.USER32.dll_CharNextW]
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], edi
call fcn.004ad8d2
add esp, 0xc
mov dword [ebx + 0x624], eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.extendtextfont
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ac5d
cmp dx, di
je 0x47ac59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ac5d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47ac37
xor eax, eax
jmp 0x47ac62
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47ac92
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.004016b0
push ebx
call fcn.0047b0b0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.extendtext
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47acc6
cmp dx, di
je 0x47acc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47acc6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47aca0
xor eax, eax
jmp 0x47accb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47acfb
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.004016b0
push ebx
call fcn.0047b040
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, str.extendtextpos
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ad28
cmp dx, di
je 0x47ad24
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ad28
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47ad02
xor eax, eax
jmp 0x47ad2d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47add6
xor eax, eax
push 0xa
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.004ad8a9
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov esi, eax
call fcn.004ad8a9
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edi, eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.004ad8a9
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.004ad8a9
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x5dc], esi
mov dword [ecx + 0x5e0], edi
mov dword [ecx + 0x5e4], ebx
add esp, 0xc
mov dword [ecx + 0x5e8], eax
mov ecx, dword [esp + 0x38]
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, ebx
call fcn.00471b60
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8