Function at 0x4bc880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x58057c]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x4bc89c
cmp dword [ebp + 0xc], 0
jne 0x4bc8a1
jmp 0x4bcc47
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x120]
cmp ecx, 8
jge 0x4bc96c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x120]
mov dword [ebp - 8], eax
mov ecx, 8
sub ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c0440
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x120], 8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
push ecx
call fcn.004bfc90
add esp, 0xc
test eax, eax
je 0x4bc954
cmp dword [ebp - 8], 4
jae 0x4bc943
mov edx, dword [ebp - 4]
sub edx, 4
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
push ecx
call fcn.004bfc90
add esp, 0xc
test eax, eax
je 0x4bc943
push str.Not_a_PNG_file
mov edx, dword [ebp + 8]
push edx
call fcn.004c0530
add esp, 8
jmp 0x4bc954
push str.PNG_file_corrupted_by_ASCII_conversion
mov eax, dword [ebp + 8]
push eax
call fcn.004c0530
add esp, 8
cmp dword [ebp - 8], 3
jae 0x4bc96c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
or edx, 0x1000
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
mov byte [ebp - 0x30], 0x49
mov byte [ebp - 0x2f], 0x48
mov byte [ebp - 0x2e], 0x44
mov byte [ebp - 0x2d], 0x52
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0x49
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x41
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x4e
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x40], 0x50
mov byte [ebp - 0x3f], 0x4c
mov byte [ebp - 0x3e], 0x54
mov byte [ebp - 0x3d], 0x45
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x52
mov byte [ebp - 0x1a], 0x4e
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x54
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x4c], 0x66
mov byte [ebp - 0x4b], 0x63
mov byte [ebp - 0x4a], 0x54
mov byte [ebp - 0x49], 0x4c
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x54], 0x66
mov byte [ebp - 0x53], 0x64
mov byte [ebp - 0x52], 0x41
mov byte [ebp - 0x51], 0x54
mov byte [ebp - 0x50], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c2f40
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
add edx, 0x110
mov dword [ebp - 0x44], edx
push 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bca5a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 8
je 0x4bca5a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
or edx, 0x2000
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bca89
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c3190
add esp, 0xc
jmp 0x4bcc42
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcab8
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c3620
add esp, 0xc
jmp 0x4bcc42
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcae7
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c33c0
add esp, 0xc
jmp 0x4bcc42
push 4
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcb7b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 1
jne 0x4bcb1b
push str.Missing_IHDR_before_IDAT
mov edx, dword [ebp + 8]
push edx
call fcn.004c0530
add esp, 8
jmp 0x4bcb46
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x11a]
cmp ecx, 3
jne 0x4bcb46
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 2
jne 0x4bcb46
push str.Missing_PLTE_before_IDAT
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c0530
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c3c20
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x100], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
or ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], ecx
jmp 0x4bcc47
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcbaa
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c3680
add esp, 0xc
jmp 0x4bcc42
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcbd6
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c3900
add esp, 0xc
jmp 0x4bcc42
push 4
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcc02
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c3a20
add esp, 0xc
jmp 0x4bcc42
push 4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005047e7
add esp, 0xc
test eax, eax
jne 0x4bcc2e
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c3c70
add esp, 0xc
jmp 0x4bcc42
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c3d20
add esp, 0xc
jmp 0x4bc96c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004fdc2b
mov esp, ebp
pop ebp
ret