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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1005bd49
mov al, byte [esi + 0x12c]
mov ebp, dword [esp + 0xb8]
cmp al, 8
jae 0x1005b7e8
and eax, 0xff
mov edi, 8
mov dword [esp + 0xb4], eax
sub edi, eax
lea eax, [eax + ebp + 0x20]
push edi
push eax
push esi
call fcn.1005d350
mov ecx, dword [esp + 0xc0]
lea eax, [ebp + 0x20]
push edi
push ecx
push eax
mov byte [esi + 0x12c], 8
call fcn.1005d420
add esp, 0x18
test eax, eax
je 0x1005b7d5
mov eax, dword [esp + 0xb4]
cmp eax, 4
jae 0x1005b7c7
add edi, 0xfffffffc
push edi
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.1005d420
add esp, 0xc
test eax, eax
je 0x1005b7c7
push str.Not_a_PNG_file
jmp 0x1005b7cc
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.1005cf90
add esp, 8
cmp dword [esp + 0xb4], 3
jae 0x1005b7e8
mov eax, dword [esi + 0x68]
or ah, 0x10
mov dword [esi + 0x68], eax
mov al, 0x44
mov dl, 0x49
mov byte [esp + 0x22], al
mov byte [esp + 0x11], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x33], al
mov al, 0x46
mov cl, 0x54
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov al, 0x73
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0x48
mov byte [esp + 0x23], 0x52
mov byte [esp + 0x24], bl
mov byte [esp + 0x10], dl
mov byte [esp + 0x12], 0x41
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], bl
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x45
mov byte [esp + 0x2a], 0x4e
mov byte [esp + 0x2c], bl
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0x45
mov byte [esp + 0x1c], bl
mov byte [esp + 0x30], 0x62
mov byte [esp + 0x31], 0x4b
mov byte [esp + 0x32], 0x47
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], 0x63
mov byte [esp + 0x39], 0x48
mov byte [esp + 0x3a], 0x52
mov byte [esp + 0x3b], 0x4d
mov byte [esp + 0x3c], bl
mov byte [esp + 0x40], 0x67
mov byte [esp + 0x41], 0x41
mov byte [esp + 0x42], 0x4d
mov byte [esp + 0x43], 0x41
mov byte [esp + 0x44], bl
mov byte [esp + 0x48], 0x68
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], 0x53
mov byte [esp + 0x4b], cl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x80], 0x69
mov byte [esp + 0x81], 0x43
mov byte [esp + 0x82], 0x43
mov byte [esp + 0x83], 0x50
mov byte [esp + 0x84], bl
mov byte [esp + 0x50], 0x6f
mov byte [esp + 0x53], al
mov byte [esp + 0x54], bl
mov byte [esp + 0x58], 0x70
mov byte [esp + 0x59], 0x43
mov byte [esp + 0x5a], 0x41
mov byte [esp + 0x5b], 0x4c
mov byte [esp + 0x5c], bl
mov byte [esp + 0x68], 0x70
mov byte [esp + 0x69], 0x48
mov byte [esp + 0x6a], 0x59
mov byte [esp + 0x6b], al
mov byte [esp + 0x6c], bl
mov byte [esp + 0x70], al
mov byte [esp + 0x71], 0x42
mov byte [esp + 0x72], dl
mov byte [esp + 0x73], cl
mov byte [esp + 0x74], bl
mov byte [esp + 0x60], al
mov byte [esp + 0x61], 0x43
mov byte [esp + 0x62], 0x41
mov byte [esp + 0x63], 0x4c
mov byte [esp + 0x64], bl
mov byte [esp + 0x88], al
mov byte [esp + 0x89], 0x50
mov byte [esp + 0x8a], 0x4c
mov byte [esp + 0x8b], cl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x78], al
mov al, 0x74
mov byte [esp + 0x7c], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x9c], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xac], bl
mov byte [esp + 0x79], 0x52
mov byte [esp + 0x7a], 0x47
mov byte [esp + 0x7b], 0x42
mov byte [esp + 0x90], al
mov byte [esp + 0x91], 0x45
mov byte [esp + 0x92], 0x58
mov byte [esp + 0x93], al
mov byte [esp + 0x98], al
mov byte [esp + 0x99], dl
mov byte [esp + 0x9a], 0x4d
mov byte [esp + 0x9b], 0x45
mov byte [esp + 0xa0], al
mov byte [esp + 0xa1], 0x52
mov byte [esp + 0xa2], 0x4e
mov byte [esp + 0xa3], 0x53
mov byte [esp + 0xa8], 0x7a
mov byte [esp + 0xa9], cl
mov byte [esp + 0xaa], 0x58
mov byte [esp + 0xab], al
lea ebx, [esi + 0x11c]
lea edx, [esp + 0xb4]
push 4
push edx
push esi
call fcn.1005d350
lea eax, [esp + 0xc0]
push eax
push esi
call fcn.10060390
push esi
mov edi, eax
call fcn.1005d530
push 4
push ebx
push esi
call fcn.100603e0
mov edx, dword [ebx]
lea ecx, [esp + 0x34]
add esp, 0x24
cmp edx, dword [ecx]
jne 0x1005ba60
mov eax, dword [esi + 0x68]
test al, 8
je 0x1005ba60
or ah, 0x20
mov dword [esi + 0x68], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x20]
cmp ecx, dword [eax]
jne 0x1005ba77
push edi
push ebp
push esi
call fcn.10060910
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0x28]
cmp eax, dword [edx]
jne 0x1005ba8e
push edi
push ebp
push esi
call fcn.10060c40
add esp, 0xc
jmp 0x1005ba17
push ebx
push esi
call fcn.1005da70
add esp, 8
test eax, eax
je 0x1005bae3
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
cmp edx, dword [ecx]
jne 0x1005baae
mov eax, dword [esi + 0x68]
or al, 4
mov dword [esi + 0x68], eax
push edi
push ebp
push esi
call fcn.100629a0
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
add esp, 0xc
cmp ecx, dword [eax]
jne 0x1005bad0
mov eax, dword [esi + 0x68]
or al, 2
mov dword [esi + 0x68], eax
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0x10]
cmp eax, dword [edx]
je 0x1005bccc
jmp 0x1005ba17
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
cmp edx, dword [ecx]
jne 0x1005bafd
push edi
push ebp
push esi
call fcn.10060aa0
add esp, 0xc
jmp 0x1005ba17
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
cmp ecx, dword [eax]
je 0x1005bd12
lea edx, [esp + 0x30]
mov eax, ecx
cmp eax, dword [edx]
jne 0x1005bb25
push edi
push ebp
push esi
call fcn.10061cb0
add esp, 0xc
jmp 0x1005ba17
mov edx, dword [ebx]
lea ecx, [esp + 0x38]
cmp edx, dword [ecx]
jne 0x1005bb3f
push edi
push ebp
push esi
call fcn.10060f70
add esp, 0xc
jmp 0x1005ba17
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
cmp ecx, dword [eax]
jne 0x1005bb59
push edi
push ebp
push esi
call fcn.10060c90
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0x48]
cmp eax, dword [edx]
jne 0x1005bb73
push edi
push ebp
push esi
call fcn.10061eb0
add esp, 0xc
jmp 0x1005ba17
mov edx, dword [ebx]
lea ecx, [esp + 0x50]
cmp edx, dword [ecx]
jne 0x1005bb8d
push edi
push ebp
push esi
call fcn.10062100
add esp, 0xc
jmp 0x1005ba17
mov ecx, dword [ebx]
lea eax, [esp + 0x58]
cmp ecx, dword [eax]
jne 0x1005bba7
push edi
push ebp
push esi
call fcn.100621f0
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0x60]
cmp eax, dword [edx]
jne 0x1005bbc1
push edi
push ebp
push esi
call fcn.10062460
add esp, 0xc
jmp 0x1005ba17
mov edx, dword [ebx]
lea ecx, [esp + 0x68]
cmp edx, dword [ecx]
jne 0x1005bbdb
push edi
push ebp
push esi
call fcn.10062010
add esp, 0xc
jmp 0x1005ba17
mov ecx, dword [ebx]
lea eax, [esp + 0x70]
cmp ecx, dword [eax]
jne 0x1005bbf5
push edi
push ebp
push esi
call fcn.10060df0
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0x78]
cmp eax, dword [edx]
jne 0x1005bc0f
push edi
push ebp
push esi
call fcn.10061410
add esp, 0xc
jmp 0x1005ba17
mov edx, dword [ebx]
lea ecx, [esp + 0x80]
cmp edx, dword [ecx]
jne 0x1005bc2c
push edi
push ebp
push esi
call fcn.10061610
add esp, 0xc
jmp 0x1005ba17
mov ecx, dword [ebx]
lea eax, [esp + 0x88]
cmp ecx, dword [eax]
jne 0x1005bc49
push edi
push ebp
push esi
call fcn.100617d0
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0x90]
cmp eax, dword [edx]
jne 0x1005bc66
push edi
push ebp
push esi
call fcn.10062720
add esp, 0xc
jmp 0x1005ba17
mov edx, dword [ebx]
lea ecx, [esp + 0x98]
cmp edx, dword [ecx]
jne 0x1005bc83
push edi
push ebp
push esi
call fcn.10062630
add esp, 0xc
jmp 0x1005ba17
mov ecx, dword [ebx]
lea eax, [esp + 0xa0]
cmp ecx, dword [eax]
jne 0x1005bca0
push edi
push ebp
push esi
call fcn.10061a10
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [ebx]
lea edx, [esp + 0xa8]
push edi
push ebp
mov ecx, dword [edx]
push esi
cmp eax, ecx
jne 0x1005bcbf
call fcn.10062840
add esp, 0xc
jmp 0x1005ba17
call fcn.100629a0
add esp, 0xc
jmp 0x1005ba17
mov eax, dword [esi + 0x68]
test al, 1
jne 0x1005bcec
push str.Missing_IHDR_before_IDAT
push esi
call fcn.1005cf90
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
cmp byte [esi + 0x126], 3
jne 0x1005bd49
test al, 2
jne 0x1005bd49
push str.Missing_PLTE_before_IDAT
push esi
call fcn.1005cf90
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov eax, dword [esi + 0x68]
test al, 1
jne 0x1005bd20
push str.Missing_IHDR_before_IDAT
jmp 0x1005bd32
cmp byte [esi + 0x126], 3
jne 0x1005bd3b
test al, 2
jne 0x1005bd3b
push str.Missing_PLTE_before_IDAT
push esi
call fcn.1005cf90
add esp, 8
mov eax, dword [esi + 0x68]
mov dword [esi + 0x10c], edi
or al, 4
mov dword [esi + 0x68], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret