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

Disassembly:
sub esp, 0xa8
mov eax, dword [0x100ba4f0]
push ebx
push esi
mov esi, dword [esp + 0xb4]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xac], eax
je 0x1005a0e8
mov al, byte [esi + 0x12c]
cmp al, 8
push ebp
mov ebp, dword [esp + 0xbc]
push edi
jae 0x10059ba0
movzx eax, al
mov edi, 8
sub edi, eax
mov dword [esp + 0x10], eax
push edi
lea eax, [eax + ebp + 0x20]
push eax
push esi
call fcn.1005b0f0
mov ecx, dword [esp + 0x1c]
push edi
lea eax, [ebp + 0x20]
push ecx
push eax
mov byte [esi + 0x12c], 8
call fcn.10059220
add esp, 0x18
test eax, eax
je 0x10059b92
mov eax, dword [esp + 0x10]
cmp eax, 4
jae 0x10059b84
add edi, 0xfffffffc
push edi
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.10059220
add esp, 0xc
test eax, eax
je 0x10059b84
push str.Not_a_PNG_file
jmp 0x10059b89
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.1005d1f0
add esp, 8
cmp dword [esp + 0x10], 3
jae 0x10059ba0
or dword [esi + 0x68], 0x1000
mov al, 0x44
mov byte [esp + 0x66], al
mov byte [esp + 0x15], al
mov byte [esp + 0x37], al
mov byte [esp + 0x77], al
mov al, 0x46
mov dl, 0x49
mov cl, 0x54
mov byte [esp + 0x85], al
mov byte [esp + 0x86], al
mov al, 0x73
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], 0x48
mov byte [esp + 0x67], 0x52
mov byte [esp + 0x68], bl
mov byte [esp + 0x14], dl
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], bl
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x38], bl
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x20], bl
mov byte [esp + 0x74], 0x62
mov byte [esp + 0x75], 0x4b
mov byte [esp + 0x76], 0x47
mov byte [esp + 0x78], bl
mov byte [esp + 0x44], 0x63
mov byte [esp + 0x45], 0x48
mov byte [esp + 0x46], 0x52
mov byte [esp + 0x47], 0x4d
mov byte [esp + 0x48], bl
mov byte [esp + 0x94], 0x67
mov byte [esp + 0x95], 0x41
mov byte [esp + 0x96], 0x4d
mov byte [esp + 0x97], 0x41
mov byte [esp + 0x98], bl
mov byte [esp + 0x54], 0x68
mov byte [esp + 0x55], dl
mov byte [esp + 0x56], 0x53
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], bl
mov byte [esp + 0x5c], 0x69
mov byte [esp + 0x5d], 0x43
mov byte [esp + 0x5e], 0x43
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x60], bl
mov byte [esp + 0x84], 0x6f
mov byte [esp + 0x87], al
mov byte [esp + 0x88], bl
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x41
mov byte [esp + 0x27], 0x4c
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x59
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], bl
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], 0x42
mov byte [esp + 0x3e], dl
mov byte [esp + 0x3f], cl
mov byte [esp + 0x40], bl
mov byte [esp + 0xa4], al
mov byte [esp + 0xa5], 0x43
mov byte [esp + 0xa6], 0x41
mov byte [esp + 0xa7], 0x4c
mov byte [esp + 0xa8], bl
mov byte [esp + 0x6c], al
mov byte [esp + 0x6d], 0x50
mov byte [esp + 0x6e], 0x4c
mov byte [esp + 0x6f], cl
mov byte [esp + 0x70], bl
mov byte [esp + 0x4c], al
mov al, 0x74
mov byte [esp + 0x50], bl
mov byte [esp + 0x80], bl
mov byte [esp + 0x90], bl
mov byte [esp + 0xa0], bl
mov byte [esp + 0xb0], bl
mov byte [esp + 0x4d], 0x52
mov byte [esp + 0x4e], 0x47
mov byte [esp + 0x4f], 0x42
mov byte [esp + 0x7c], al
mov byte [esp + 0x7d], 0x45
mov byte [esp + 0x7e], 0x58
mov byte [esp + 0x7f], al
mov byte [esp + 0x8c], al
mov byte [esp + 0x8d], dl
mov byte [esp + 0x8e], 0x4d
mov byte [esp + 0x8f], 0x45
mov byte [esp + 0x9c], al
mov byte [esp + 0x9d], 0x52
mov byte [esp + 0x9e], 0x4e
mov byte [esp + 0x9f], 0x53
mov byte [esp + 0xac], 0x7a
mov byte [esp + 0xad], cl
mov byte [esp + 0xae], 0x58
mov byte [esp + 0xaf], al
lea ebx, [esi + 0x11c]
push 4
lea edx, [esp + 0x14]
push edx
push esi
call fcn.1005b0f0
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1005eb00
push esi
mov edi, eax
call fcn.10059320
push 4
push ebx
push esi
call fcn.1005d980
mov edx, dword [ebx]
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
add esp, 0x24
cmp edx, eax
jne 0x10059e19
mov eax, dword [esi + 0x68]
test al, 8
je 0x10059e19
or eax, 0x2000
mov dword [esi + 0x68], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x64]
cmp ecx, dword [eax]
jne 0x10059e30
push edi
push ebp
push esi
call fcn.1005ec20
add esp, 0xc
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0x34]
cmp eax, dword [edx]
jne 0x10059e47
push edi
push ebp
push esi
call fcn.1005efa0
add esp, 0xc
jmp 0x10059dd2
push ebx
push esi
call fcn.10059800
mov edx, dword [ebx]
add esp, 8
test eax, eax
je 0x10059ec1
lea ecx, [esp + 0x14]
cmp edx, dword [ecx]
jne 0x10059e63
or dword [esi + 0x68], 4
push edi
push ebp
push esi
call fcn.10060f90
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
mov edx, dword [eax]
add esp, 0xc
cmp ecx, edx
jne 0x10059e83
or dword [esi + 0x68], 2
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0x14]
cmp eax, dword [edx]
jne 0x10059dd2
mov eax, dword [esi + 0x68]
test al, 1
jne 0x1005a07c
push str.Missing_IHDR_before_IDAT
push esi
call fcn.1005d1f0
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
call fcn.10043e9e
add esp, 0xa8
ret
lea ecx, [esp + 0x1c]
cmp edx, dword [ecx]
jne 0x10059ed9
push edi
push ebp
push esi
call fcn.1005ee00
add esp, 0xc
jmp 0x10059dd2
mov ecx, dword [ebx]
lea eax, [esp + 0x14]
cmp ecx, dword [eax]
je 0x1005a0ae
lea edx, [esp + 0x74]
mov eax, ecx
cmp eax, dword [edx]
push edi
push ebp
push esi
jne 0x10059f01
call fcn.100600a0
add esp, 0xc
jmp 0x10059dd2
mov edx, dword [ebx]
lea ecx, [esp + 0x50]
cmp edx, dword [ecx]
jne 0x10059f18
call fcn.1005f2f0
add esp, 0xc
jmp 0x10059dd2
mov ecx, dword [ebx]
lea eax, [esp + 0xa0]
cmp ecx, dword [eax]
jne 0x10059f32
call fcn.1005eff0
add esp, 0xc
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0x60]
cmp eax, dword [edx]
jne 0x10059f49
call fcn.10060300
add esp, 0xc
jmp 0x10059dd2
mov edx, dword [ebx]
lea ecx, [esp + 0x90]
cmp edx, dword [ecx]
jne 0x10059f63
call fcn.10060610
add esp, 0xc
jmp 0x10059dd2
mov ecx, dword [ebx]
lea eax, [esp + 0x30]
cmp ecx, dword [eax]
jne 0x10059f7a
call fcn.10060760
add esp, 0xc
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0xb0]
cmp eax, dword [edx]
jne 0x10059f94
call fcn.10060a20
add esp, 0xc
jmp 0x10059dd2
mov edx, dword [ebx]
lea ecx, [esp + 0x38]
cmp edx, dword [ecx]
jne 0x10059fab
call fcn.100604c0
add esp, 0xc
jmp 0x10059dd2
mov ecx, dword [ebx]
lea eax, [esp + 0x48]
cmp ecx, dword [eax]
jne 0x10059fc2
call fcn.1005f170
add esp, 0xc
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0x58]
cmp eax, dword [edx]
jne 0x10059fd9
call fcn.1005f7c0
add esp, 0xc
jmp 0x10059dd2
mov edx, dword [ebx]
lea ecx, [esp + 0x68]
cmp edx, dword [ecx]
jne 0x10059ff0
call fcn.1005f9c0
add esp, 0xc
jmp 0x10059dd2
mov ecx, dword [ebx]
lea eax, [esp + 0x78]
cmp ecx, dword [eax]
jne 0x1005a007
call fcn.1005fb80
add esp, 0xc
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0x88]
cmp eax, dword [edx]
jne 0x1005a021
call fcn.10060d00
add esp, 0xc
jmp 0x10059dd2
mov edx, dword [ebx]
lea ecx, [esp + 0x98]
cmp edx, dword [ecx]
jne 0x1005a03b
call fcn.10060be0
add esp, 0xc
jmp 0x10059dd2
mov ecx, dword [ebx]
lea eax, [esp + 0xa8]
cmp ecx, dword [eax]
jne 0x1005a055
call fcn.1005fdd0
add esp, 0xc
jmp 0x10059dd2
mov eax, dword [ebx]
lea edx, [esp + 0xb8]
cmp eax, dword [edx]
jne 0x1005a06f
call fcn.10060e30
add esp, 0xc
jmp 0x10059dd2
call fcn.10060f90
add esp, 0xc
jmp 0x10059dd2
cmp byte [esi + 0x126], 3
jne 0x1005a0e6
test al, 2
jne 0x1005a0e6
push str.Missing_PLTE_before_IDAT
push esi
call fcn.1005d1f0
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
call fcn.10043e9e
add esp, 0xa8
ret
mov eax, dword [esi + 0x68]
test al, 1
jne 0x1005a0bc
push str.Missing_IHDR_before_IDAT
jmp 0x1005a0ce
cmp byte [esi + 0x126], 3
jne 0x1005a0d7
test al, 2
jne 0x1005a0d7
push str.Missing_PLTE_before_IDAT
push esi
call fcn.1005d1f0
add esp, 8
mov eax, dword [esi + 0x68]
or eax, 4
mov dword [esi + 0x10c], edi
mov dword [esi + 0x68], eax
pop edi
pop ebp
mov ecx, dword [esp + 0xac]
pop esi
pop ebx
call fcn.10043e9e
add esp, 0xa8
ret