Function at 0x5d8ce0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ec074
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov edi, dword [ebp + 8]
mov ecx, 0x636670
mov eax, edi
xor esi, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8d46
cmp dx, si
je 0x5d8d42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8d46
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8d20
xor eax, eax
jmp 0x5d8d4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d8d71
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
call dword [0x610498]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x44], esi
lea ecx, [ebx + 0x468]
jmp 0x5d8e20
mov ecx, str.splithotimage
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8d9e
cmp dx, si
je 0x5d8d9a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8d9e
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8d78
xor eax, eax
jmp 0x5d8da3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d8dc8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x610498]
mov dword [esp + 0x40], 1
lea ecx, [ebx + 0x484]
jmp 0x5d8e8b
mov ecx, str.splitpushedimage
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8df6
cmp dx, si
je 0x5d8df2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8df6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8dd0
xor eax, eax
jmp 0x5d8dfb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d8e34
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
call dword [0x610498]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x44], 2
lea ecx, [ebx + 0x4a0]
call dword [0x61059c]
mov edx, dword [ebx]
mov eax, dword [edx + 0x114]
mov ecx, ebx
call eax
jmp 0x5d8ea2
mov ecx, str.splitdisabledimage
mov eax, edi
jmp 0x5d8e40
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8e66
cmp dx, si
je 0x5d8e62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8e66
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8e40
xor eax, eax
jmp 0x5d8e6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d8ec9
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x610498]
mov dword [esp + 0x40], 3
lea ecx, [ebx + 0x4bc]
lea edx, [esp + 0x18]
push edx
call dword [0x61059c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x114]
mov ecx, ebx
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call dword [0x6105a0]
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, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8ef6
cmp dx, si
je 0x5d8ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8ef6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8ed0
xor eax, eax
jmp 0x5d8efb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d8f70
mov eax, dword [ebp + 0xc]
mov ecx, 0x613638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8f4b
cmp dx, si
je 0x5d8f29
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8f4b
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8f07
xor eax, eax
cmp eax, esi
sete al
mov byte [ebx + 0x440], 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, esi
sete al
mov byte [ebx + 0x440], 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, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d8f9d
cmp dx, si
je 0x5d8f99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d8f9d
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d8f77
xor eax, eax
jmp 0x5d8fa2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d904b
mov edx, dword [ebp + 0xc]
push 0xa
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
mov dword [esp + 0x18], esi
mov esi, dword [0x610620]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call esi
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 esi
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 esi
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x2c], eax
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x444], edi
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], edx
add esp, 0xc
mov dword [ecx + 0x450], 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, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d9078
cmp dx, si
je 0x5d9074
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d9078
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d9052
xor eax, eax
jmp 0x5d907d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d90c1
mov eax, dword [ebp + 0xc]
cmp word [eax], 0x23
jne 0x5d9091
push eax
call dword [0x6108b4]
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], esi
call dword [0x610640]
add esp, 0xc
mov dword [ebx + 0x520], 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, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d90ee
cmp dx, si
je 0x5d90ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d90ee
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d90c8
xor eax, eax
jmp 0x5d90f3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d9125
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call dword [0x610498]
push ebx
call fcn.005d9540
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, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d9156
cmp dx, si
je 0x5d9152
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d9156
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d9130
xor eax, eax
jmp 0x5d915b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d918d
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [0x610498]
push ebx
call fcn.005d94d0
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, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5d91ba
cmp dx, si
je 0x5d91b6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5d91ba
add eax, 4
add ecx, 4
cmp dx, si
jne 0x5d9194
xor eax, eax
jmp 0x5d91bf
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x5d9268
mov edx, dword [ebp + 0xc]
push 0xa
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
mov dword [esp + 0x18], esi
mov esi, dword [0x610620]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call esi
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 esi
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 esi
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x2c], eax
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x4d8], edi
mov dword [ecx + 0x4dc], ebx
mov dword [ecx + 0x4e0], edx
add esp, 0xc
mov dword [ecx + 0x4e4], 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 eax, dword [ebp + 0xc]
push eax
push edi
mov ecx, ebx
call fcn.005d9740
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