Function at 0x45fcc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf470
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
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, 0x4dda1c
mov eax, esi
xor edi, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45fd26
cmp dx, di
je 0x45fd22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fd26
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45fd00
xor eax, eax
jmp 0x45fd2b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45fd7f
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 0x45fd50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45fd50
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x20]
call fcn.00405810
push 0xffffffffffffffff
mov eax, esi
push edi
push eax
mov dword [esp + 0x4c], edi
lea eax, [ebx + 0x574]
jmp 0x45fe71
mov ecx, str.splithotimage
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45fdac
cmp dx, di
je 0x45fda8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fdac
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45fd86
xor eax, eax
jmp 0x45fdb1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45fe15
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.00404fb0
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [ebx + 0x590]
mov dword [esp + 0x4c], 1
call fcn.00405240
mov eax, dword [ebx]
mov edx, dword [eax + 0x11c]
mov ecx, ebx
call edx
cmp dword [esp + 0x30], 8
jb 0x4602e2
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
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 0x45fe46
cmp dx, di
je 0x45fe42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fe46
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45fe20
xor eax, eax
jmp 0x45fe4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45feaf
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.00404fb0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 2
push ecx
lea eax, [ebx + 0x5ac]
call fcn.00405240
mov edx, dword [ebx]
mov eax, dword [edx + 0x11c]
mov ecx, ebx
call eax
cmp dword [esp + 0x30], 8
jb 0x4602e2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004a85e6
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 0x45fedc
cmp dx, di
je 0x45fed8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fedc
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45feb6
xor eax, eax
jmp 0x45fee1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45ff36
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.00404fb0
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [ebx + 0x5c8]
mov dword [esp + 0x4c], 3
call fcn.00405240
mov eax, dword [ebx]
mov edx, dword [eax + 0x11c]
mov ecx, ebx
call edx
lea esi, [esp + 0x18]
call fcn.004159c0
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 0x45ff66
cmp dx, di
je 0x45ff62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ff66
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45ff40
xor eax, eax
jmp 0x45ff6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45ffe0
mov eax, dword [ebp + 0xc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ffbb
cmp dx, di
je 0x45ff99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ffbb
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45ff77
xor eax, eax
cmp eax, edi
sete al
mov byte [ebx + 0x54c], 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 + 0x54c], 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 0x46000d
cmp dx, di
je 0x460009
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46000d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45ffe7
xor eax, eax
jmp 0x460012
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4600bb
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.004ad16d
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.004ad16d
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.004ad16d
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.004ad16d
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x550], esi
mov dword [ecx + 0x554], edi
mov dword [ecx + 0x558], ebx
add esp, 0xc
mov dword [ecx + 0x55c], 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 0x4600e8
cmp dx, di
je 0x4600e4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4600e8
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4600c2
xor eax, eax
jmp 0x4600ed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x460130
mov eax, dword [ebp + 0xc]
cmp word [eax], 0x23
jne 0x460101
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.004ad196
add esp, 0xc
mov dword [ebx + 0x62c], 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 0x46015d
cmp dx, di
je 0x460159
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46015d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x460137
xor eax, eax
jmp 0x460162
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x460192
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.00404fb0
push ebx
call fcn.004605b0
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 0x4601c6
cmp dx, di
je 0x4601c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4601c6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4601a0
xor eax, eax
jmp 0x4601cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4601fb
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.00404fb0
push ebx
call fcn.00460540
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 0x460228
cmp dx, di
je 0x460224
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x460228
add eax, 4
add ecx, 4
cmp dx, di
jne 0x460202
xor eax, eax
jmp 0x46022d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4602d6
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.004ad16d
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.004ad16d
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.004ad16d
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.004ad16d
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x5e4], esi
mov dword [ecx + 0x5e8], edi
mov dword [ecx + 0x5ec], ebx
add esp, 0xc
mov dword [ecx + 0x5f0], 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.0047aad0
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