Function at 0x51a500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x82fa48]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x51a51f
cmp dword [ebp + 0xc], 0
jne 0x51a524
jmp 0x51ad99
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x130]
cmp ecx, 8
jge 0x51a5fb
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x130]
mov dword [ebp - 8], eax
mov ecx, 8
sub ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x28c], 0x11
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00529a80
add esp, 0xc
mov edx, dword [ebp + 8]
mov byte [edx + 0x130], 8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x20
push edx
call fcn.00528940
add esp, 0xc
test eax, eax
je 0x51a5e4
cmp dword [ebp - 8], 4
jae 0x51a5d3
mov eax, dword [ebp - 4]
sub eax, 4
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x20
push edx
call fcn.00528940
add esp, 0xc
test eax, eax
je 0x51a5d3
push str.Not_a_PNG_file
mov eax, dword [ebp + 8]
push eax
call fcn.0052e7e0
add esp, 8
jmp 0x51a5e4
push str.PNG_file_corrupted_by_ASCII_conversion
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052e7e0
add esp, 8
cmp dword [ebp - 8], 3
jae 0x51a5fb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
or eax, 0x1000
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], eax
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x48
mov byte [ebp - 0x3e], 0x44
mov byte [ebp - 0x3d], 0x52
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x44
mov byte [ebp - 0x36], 0x41
mov byte [ebp - 0x35], 0x54
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x50], 0x49
mov byte [ebp - 0x4f], 0x45
mov byte [ebp - 0x4e], 0x4e
mov byte [ebp - 0x4d], 0x44
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x68], 0x50
mov byte [ebp - 0x67], 0x4c
mov byte [ebp - 0x66], 0x54
mov byte [ebp - 0x65], 0x45
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x48], 0x62
mov byte [ebp - 0x47], 0x4b
mov byte [ebp - 0x46], 0x47
mov byte [ebp - 0x45], 0x44
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x74], 0x63
mov byte [ebp - 0x73], 0x48
mov byte [ebp - 0x72], 0x52
mov byte [ebp - 0x71], 0x4d
mov byte [ebp - 0x70], 0
mov byte [ebp - 0xbc], 0x67
mov byte [ebp - 0xbb], 0x41
mov byte [ebp - 0xba], 0x4d
mov byte [ebp - 0xb9], 0x41
mov byte [ebp - 0xb8], 0
mov byte [ebp - 0x94], 0x68
mov byte [ebp - 0x93], 0x49
mov byte [ebp - 0x92], 0x53
mov byte [ebp - 0x91], 0x54
mov byte [ebp - 0x90], 0
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x43
mov byte [ebp - 0x22], 0x43
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0
mov byte [ebp - 0xa4], 0x69
mov byte [ebp - 0xa3], 0x54
mov byte [ebp - 0xa2], 0x58
mov byte [ebp - 0xa1], 0x74
mov byte [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 0x6f
mov byte [ebp - 0x9b], 0x46
mov byte [ebp - 0x9a], 0x46
mov byte [ebp - 0x99], 0x73
mov byte [ebp - 0x98], 0
mov byte [ebp - 0x8c], 0x70
mov byte [ebp - 0x8b], 0x43
mov byte [ebp - 0x8a], 0x41
mov byte [ebp - 0x89], 0x4c
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x59
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x30], 0x73
mov byte [ebp - 0x2f], 0x42
mov byte [ebp - 0x2e], 0x49
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0xac], 0x73
mov byte [ebp - 0xab], 0x43
mov byte [ebp - 0xaa], 0x41
mov byte [ebp - 0xa9], 0x4c
mov byte [ebp - 0xa8], 0
mov byte [ebp - 0x84], 0x73
mov byte [ebp - 0x83], 0x50
mov byte [ebp - 0x82], 0x4c
mov byte [ebp - 0x81], 0x54
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x60], 0x73
mov byte [ebp - 0x5f], 0x52
mov byte [ebp - 0x5e], 0x47
mov byte [ebp - 0x5d], 0x42
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0x74
mov byte [ebp - 0x57], 0x45
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], 0x74
mov byte [ebp - 0x54], 0
mov byte [ebp - 0xb4], 0x74
mov byte [ebp - 0xb3], 0x49
mov byte [ebp - 0xb2], 0x4d
mov byte [ebp - 0xb1], 0x45
mov byte [ebp - 0xb0], 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 - 0x7c], 0x7a
mov byte [ebp - 0x7b], 0x54
mov byte [ebp - 0x7a], 0x58
mov byte [ebp - 0x79], 0x74
mov byte [ebp - 0x78], 0
mov edx, dword [ebp + 8]
push edx
call fcn.0052ec20
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
add eax, 0x120
mov dword [ebp - 0x6c], eax
push 4
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a860
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
and ecx, 8
je 0x51a860
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
or eax, 0x2000
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], eax
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a88f
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052f2c0
add esp, 0xc
jmp 0x51ad94
push 4
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a8be
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052f730
add esp, 0xc
jmp 0x51ad94
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00529480
add esp, 8
test eax, eax
je 0x51a99f
push 4
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a8fb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
or edx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], edx
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005329e0
add esp, 0xc
push 4
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a936
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
or ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + 0x6c], ecx
jmp 0x51a99a
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a99a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
and eax, 1
jne 0x51a96a
push 0x830e54
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052e7e0
add esp, 8
jmp 0x51a995
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12a]
cmp eax, 3
jne 0x51a995
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
and edx, 2
jne 0x51a995
push 0x830e70
mov eax, dword [ebp + 8]
push eax
call fcn.0052e7e0
add esp, 8
jmp 0x51ad99
jmp 0x51ad94
push 4
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51a9ce
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052f4f0
add esp, 0xc
jmp 0x51ad94
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51aa52
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
and eax, 1
jne 0x51aa02
push str.Missing_IHDR_before_IDAT
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052e7e0
add esp, 8
jmp 0x51aa2d
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12a]
cmp eax, 3
jne 0x51aa2d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
and edx, 2
jne 0x51aa2d
push str.Missing_PLTE_before_IDAT
mov eax, dword [ebp + 8]
push eax
call fcn.0052e7e0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x110], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
or ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x6c], ecx
jmp 0x51ad99
push 4
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51aa81
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00530e20
add esp, 0xc
jmp 0x51ad94
push 4
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51aab0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052fb70
add esp, 0xc
jmp 0x51ad94
push 4
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51aae2
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052f7a0
add esp, 0xc
jmp 0x51ad94
push 4
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ab14
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00531120
add esp, 0xc
jmp 0x51ad94
push 4
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ab46
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00531430
add esp, 0xc
jmp 0x51ad94
push 4
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ab78
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00531610
add esp, 0xc
jmp 0x51ad94
push 4
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51abaa
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00531b10
add esp, 0xc
jmp 0x51ad94
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51abd9
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005312c0
add esp, 0xc
jmp 0x51ad94
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ac08
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052f990
add esp, 0xc
jmp 0x51ad94
push 4
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ac37
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00530000
add esp, 0xc
jmp 0x51ad94
push 4
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ac66
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005302e0
add esp, 0xc
jmp 0x51ad94
push 4
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ac98
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005306a0
add esp, 0xc
jmp 0x51ad94
push 4
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51acc7
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00531f70
add esp, 0xc
jmp 0x51ad94
push 4
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51acf9
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00531e40
add esp, 0xc
jmp 0x51ad94
push 4
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ad25
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00530b00
add esp, 0xc
jmp 0x51ad94
push 4
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ad51
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00532220
add esp, 0xc
jmp 0x51ad94
push 4
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004f2209
add esp, 0xc
test eax, eax
jne 0x51ad80
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00532570
add esp, 0xc
jmp 0x51ad94
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005329e0
add esp, 0xc
jmp 0x51a5fb
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f1e40
mov esp, ebp
pop ebp
ret