Function at 0x4317c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4b81f4]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x4317dc
cmp dword [ebp + 0xc], 0
jne 0x4317e1
jmp 0x431b87
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x120]
cmp ecx, 8
jge 0x4318ac
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.004350a0
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.004348f0
add esp, 0xc
test eax, eax
je 0x431894
cmp dword [ebp - 8], 4
jae 0x431883
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.004348f0
add esp, 0xc
test eax, eax
je 0x431883
push str.Not_a_PNG_file
mov edx, dword [ebp + 8]
push edx
call fcn.00435190
add esp, 8
jmp 0x431894
push str.PNG_file_corrupted_by_ASCII_conversion
mov eax, dword [ebp + 8]
push eax
call fcn.00435190
add esp, 8
cmp dword [ebp - 8], 3
jae 0x4318ac
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.004379d0
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.0046fdd5
add esp, 0xc
test eax, eax
jne 0x43199a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 8
je 0x43199a
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.0046fdd5
add esp, 0xc
test eax, eax
jne 0x4319c9
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00437c20
add esp, 0xc
jmp 0x431b82
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x4319f8
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004380b0
add esp, 0xc
jmp 0x431b82
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x431a27
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00437e50
add esp, 0xc
jmp 0x431b82
push 4
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x431abb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 1
jne 0x431a5b
push str.Missing_IHDR_before_IDAT
mov edx, dword [ebp + 8]
push edx
call fcn.00435190
add esp, 8
jmp 0x431a86
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x11a]
cmp ecx, 3
jne 0x431a86
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 2
jne 0x431a86
push str.Missing_PLTE_before_IDAT
mov ecx, dword [ebp + 8]
push ecx
call fcn.00435190
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004386b0
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 0x431b87
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x431aea
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00438110
add esp, 0xc
jmp 0x431b82
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x431b16
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00438390
add esp, 0xc
jmp 0x431b82
push 4
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x431b42
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004384b0
add esp, 0xc
jmp 0x431b82
push 4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0046fdd5
add esp, 0xc
test eax, eax
jne 0x431b6e
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00438700
add esp, 0xc
jmp 0x431b82
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004387b0
add esp, 0xc
jmp 0x4318ac
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0046b4eb
mov esp, ebp
pop ebp
ret