Function at 0x559780
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebp
mov ebp, dword [esp + 0xb4]
push esi
mov esi, dword [esp + 0xb4]
mov dword [esp + 8], ebp
test esi, esi
je 0x559cf7
test ebp, ebp
je 0x559cf7
mov al, byte [esi + 0x12c]
push ebx
push edi
cmp al, 8
jae 0x55982b
movzx ebx, al
mov edi, 8
sub edi, ebx
push edi
lea eax, [ebx + ebp + 0x20]
push eax
push esi
call fcn.0055b920
push edi
add ebp, 0x20
push ebx
push ebp
mov byte [esi + 0x12c], 8
call fcn.0055ba20
add esp, 0x18
test eax, eax
je 0x55981f
cmp ebx, 4
jae 0x559811
add edi, 0xfffffffc
push edi
push ebx
push ebp
call fcn.0055ba20
add esp, 0xc
test eax, eax
je 0x559811
push str.Not_a_PNG_file
jmp 0x559816
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.00579d00
add esp, 8
cmp ebx, 3
jae 0x55982b
or dword [esi + 0x68], 0x1000
mov bl, 0x73
lea ecx, [ecx]
mov byte [esp + 0xa4], 0x49
mov byte [esp + 0xa5], 0x48
mov byte [esp + 0xa6], 0x44
mov byte [esp + 0xa7], 0x52
mov byte [esp + 0x64], 0x49
mov byte [esp + 0x65], 0x44
mov byte [esp + 0x66], 0x41
mov byte [esp + 0x67], 0x54
mov byte [esp + 0x34], 0x49
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x37], 0x44
mov byte [esp + 0x14], 0x50
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], 0x54
mov byte [esp + 0x17], 0x45
mov byte [esp + 0x74], 0x62
mov byte [esp + 0x75], 0x4b
mov byte [esp + 0x76], 0x47
mov byte [esp + 0x77], 0x44
mov byte [esp + 0x44], 0x63
mov byte [esp + 0x45], 0x48
mov byte [esp + 0x46], 0x52
mov byte [esp + 0x47], 0x4d
mov byte [esp + 0x94], 0x67
mov byte [esp + 0x95], 0x41
mov byte [esp + 0x96], 0x4d
mov byte [esp + 0x97], 0x41
mov byte [esp + 0x54], 0x68
mov byte [esp + 0x55], 0x49
mov byte [esp + 0x56], 0x53
mov byte [esp + 0x57], 0x54
mov byte [esp + 0x5c], 0x69
mov byte [esp + 0x5d], 0x43
mov byte [esp + 0x5e], 0x43
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x84], 0x6f
mov byte [esp + 0x85], 0x46
mov byte [esp + 0x86], 0x46
mov byte [esp + 0x87], bl
mov byte [esp + 0x1c], 0x70
mov byte [esp + 0x1d], 0x43
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0x4c
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x59
mov byte [esp + 0x2f], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x42
mov byte [esp + 0x3e], 0x49
mov byte [esp + 0x3f], 0x54
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x41
mov byte [esp + 0x27], 0x4c
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0x50
mov byte [esp + 0x6e], 0x4c
mov byte [esp + 0x6f], 0x54
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x52
mov byte [esp + 0x4e], 0x47
mov byte [esp + 0x4f], 0x42
mov byte [esp + 0x7c], 0x74
mov byte [esp + 0x7d], 0x45
mov byte [esp + 0x7e], 0x58
mov byte [esp + 0x7f], 0x74
mov byte [esp + 0x8c], 0x74
mov byte [esp + 0x8d], 0x49
mov byte [esp + 0x8e], 0x4d
mov byte [esp + 0x8f], 0x45
mov byte [esp + 0x9c], 0x74
mov byte [esp + 0x9d], 0x52
mov byte [esp + 0x9e], 0x4e
mov byte [esp + 0x9f], 0x53
mov byte [esp + 0xac], 0x7a
mov byte [esp + 0xad], 0x54
mov byte [esp + 0xae], 0x58
mov byte [esp + 0xaf], 0x74
push esi
call fcn.0057b090
mov ebp, dword [esp + 0x68]
lea ecx, [esi + 0x11c]
add esp, 4
mov edi, eax
cmp dword [ecx], ebp
jne 0x559a2a
mov eax, dword [esi + 0x68]
test al, 8
je 0x559a2a
or eax, 0x2000
mov dword [esi + 0x68], eax
mov eax, dword [ecx]
cmp eax, dword [esp + 0xa4]
jne 0x559a49
mov ecx, dword [esp + 0x10]
push edi
push ecx
push esi
call fcn.0057b1c0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x34]
jne 0x559a63
mov edx, dword [esp + 0x10]
push edi
push edx
push esi
call fcn.0057b4d0
add esp, 0xc
jmp 0x559830
push ecx
push esi
call fcn.0055c1c0
add esp, 8
test eax, eax
je 0x559ac7
cmp dword [esi + 0x11c], ebp
jne 0x559a7d
or dword [esi + 0x68], 4
mov eax, dword [esp + 0x10]
push edi
push eax
push esi
call fcn.0057d3d0
mov eax, dword [esi + 0x11c]
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x559aa1
or dword [esi + 0x68], 2
jmp 0x559830
cmp eax, ebp
jne 0x559830
mov eax, dword [esi + 0x68]
test al, 1
jne 0x559ca5
push str.Missing_IHDR_before_IDAT
push esi
call fcn.00579d00
add esp, 8
jmp 0x559cf5
mov eax, dword [esi + 0x11c]
cmp eax, dword [esp + 0x14]
jne 0x559ae7
mov ecx, dword [esp + 0x10]
push edi
push ecx
push esi
call fcn.0057b340
add esp, 0xc
jmp 0x559830
cmp eax, ebp
je 0x559cc2
push edi
cmp eax, dword [esp + 0x78]
jne 0x559b09
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0057c480
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x48]
jne 0x559b22
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0057b800
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x98]
jne 0x559b3e
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.0057b520
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x58]
jne 0x559b57
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0057c6d0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x88]
jne 0x559b73
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0057c990
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x20]
jne 0x559b8c
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.0057cac0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x28]
jne 0x559ba5
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0057cd90
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x30]
jne 0x559bbe
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0057c870
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x40]
jne 0x559bd7
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.0057b690
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x50]
jne 0x559bf0
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0057bba0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x60]
jne 0x559c09
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0057bda0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x70]
jne 0x559c22
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.0057bf90
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x80]
jne 0x559c3e
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0057d0c0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0x90]
jne 0x559c5a
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0057cfa0
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0xa0]
jne 0x559c76
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.0057c200
add esp, 0xc
jmp 0x559830
cmp eax, dword [esp + 0xb0]
jne 0x559c92
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0057d220
add esp, 0xc
jmp 0x559830
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0057d3d0
add esp, 0xc
jmp 0x559830
cmp byte [esi + 0x126], 3
jne 0x559cf5
test al, 2
jne 0x559cf5
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00579d00
add esp, 8
jmp 0x559cf5
mov eax, dword [esi + 0x68]
test al, 1
jne 0x559cd0
push str.Missing_IHDR_before_IDAT
jmp 0x559ce2
cmp byte [esi + 0x126], 3
jne 0x559ceb
test al, 2
jne 0x559ceb
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00579d00
add esp, 8
or dword [esi + 0x68], 4
mov dword [esi + 0x10c], edi
pop edi
pop ebx
mov ecx, dword [esp + 0xac]
pop esi
pop ebp
xor ecx, esp
call fcn.004e5fb0
add esp, 0xa8
ret