Function at 0x4362a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 8
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 2
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 4
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 8
mov dword [esp + 0x98], 8
mov dword [esp + 0x9c], 8
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 4
mov dword [esp + 0xa8], 2
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0xac], 2
add eax, 1
mov dword [ebx + 0xa0], eax
cmp eax, dword [ebx + 0x90]
jb 0x436565
cmp byte [ebx + 0xdf], 0
jne 0x4365ab
test byte [ebx + 0x2c], 0x20
jne 0x436570
lea eax, [esp + 0x32]
mov byte [esp + 0x37], 0
lea ebp, [esp + 0x38]
mov dword [esp + 0x33], 0x54414449
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 1
jmp 0x43643f
lea esi, [ebx + 0x34]
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._inflate
cmp eax, 1
je 0x43686f
test eax, eax
jne 0x4368f3
mov edx, dword [ebx + 0x44]
test edx, edx
je 0x4368a7
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x436410
mov esi, dword [ebx + 0xc8]
lea edi, [ebx + 0xd8]
jmp 0x436502
mov eax, ebx
call sym._png_crc_finish.constprop.0
mov dword [ebx + 0x244], 0x21
mov dword [esp + 8], 8
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sym._png_read_data
movzx esi, byte [esp + 0x38]
movzx eax, byte [esp + 0x3b]
mov edx, esi
movzx esi, byte [esp + 0x39]
shl edx, 0x18
shl esi, 0x10
add esi, edx
add eax, esi
movzx esi, byte [esp + 0x3a]
shl esi, 8
add esi, eax
js 0x4368d3
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xd8], eax
mov dword [esp], ebx
call sym._png_reset_crc
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._png_calculate_crc
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._png_check_chunk_name
mov dword [ebx + 0xc8], esi
mov eax, dword [ebx + 0xd8]
mov dword [ebx + 0x244], 0x41
cmp dword [esp + 0x33], eax
jne 0x4368e3
test esi, esi
je 0x436460
mov edi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], eax
cmp edi, esi
jbe 0x43651f
mov dword [ebx + 0x38], esi
mov edi, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 0x18], eax
call sym._png_read_data
mov eax, dword [esp + 0x18]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._png_calculate_crc
mov eax, dword [ebx + 0x38]
sub dword [ebx + 0xc8], eax
jmp 0x436410
mov byte [esp + 0x18], 6
movzx eax, byte [esp + 0x18]
mov byte [ebx + 0xe0], al
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0xc8]
lea esi, [ebx + 0x34]
test eax, eax
jne 0x436584
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x436594
mov dword [esp + 4], str.Extra_compression_data
mov dword [esp], ebx
call sym._png_warning
mov dword [esp], esi
call sym._inflateReset
or dword [ebx + 0x28], 8
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0xa4]
mov dword [ebx + 0xa0], 0
mov dword [esp + 4], 0
add eax, 1
mov dword [esp], edx
mov dword [esp + 8], eax
call sym._memset
movzx eax, byte [ebx + 0xe0]
mov byte [esp + 0x1f], al
add eax, 1
mov byte [esp + 0x18], al
cmp al, 6
ja 0x43685f
mov ecx, dword [ebx + 0x88]
movzx esi, al
xor edx, edx
mov edi, dword [esp + esi*4 + 0x5c]
lea eax, [ecx - 1]
mov dword [esp + 0x2c], ecx
lea ecx, [eax + edi]
sub ecx, dword [esp + esi*4 + 0x40]
mov dword [esp + 0x20], eax
mov eax, ecx
div edi
mov dword [ebx + 0x9c], eax
test byte [ebx + 0x30], 2
jne 0x43655a
mov eax, dword [ebx + 0x8c]
mov ebp, dword [esp + esi*4 + 0x94]
xor edx, edx
mov dword [esp + 0x28], eax
sub eax, 1
mov dword [esp + 0x24], eax
add eax, ebp
sub eax, dword [esp + esi*4 + 0x78]
mov esi, eax
div ebp
mov dword [ebx + 0x90], eax
cmp edi, ecx
ja 0x43665d
cmp ebp, esi
jbe 0x43655a
movzx ecx, byte [esp + 0x1f]
lea eax, [ecx + 2]
mov byte [esp + 0x18], al
cmp cl, 5
je 0x43685f
movzx ebp, al
mov eax, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + ebp*4 + 0x5c]
lea ecx, [eax + edi]
sub ecx, dword [esp + ebp*4 + 0x40]
mov eax, ecx
div edi
mov edx, dword [esp + ebp*4 + 0x94]
add esi, edx
sub esi, dword [esp + ebp*4 + 0x78]
mov ebp, edx
xor edx, edx
mov dword [ebx + 0x9c], eax
mov eax, esi
div ebp
mov dword [ebx + 0x90], eax
cmp edi, ecx
ja 0x4366bb
cmp ebp, esi
jbe 0x43655a
movzx ecx, byte [esp + 0x1f]
lea eax, [ecx + 3]
mov byte [esp + 0x18], al
cmp cl, 4
je 0x43685f
movzx ebp, al
mov eax, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + ebp*4 + 0x5c]
lea ecx, [eax + edi]
sub ecx, dword [esp + ebp*4 + 0x40]
mov eax, ecx
div edi
mov edx, dword [esp + ebp*4 + 0x94]
add esi, edx
sub esi, dword [esp + ebp*4 + 0x78]
mov ebp, edx
xor edx, edx
mov dword [ebx + 0x9c], eax
mov eax, esi
div ebp
mov dword [ebx + 0x90], eax
cmp edi, ecx
ja 0x436719
cmp ebp, esi
jbe 0x43655a
movzx ecx, byte [esp + 0x1f]
lea eax, [ecx + 4]
mov byte [esp + 0x18], al
cmp cl, 3
je 0x43685f
movzx ebp, al
mov eax, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + ebp*4 + 0x5c]
lea ecx, [eax + edi]
sub ecx, dword [esp + ebp*4 + 0x40]
mov eax, ecx
div edi
mov edx, dword [esp + ebp*4 + 0x94]
add esi, edx
sub esi, dword [esp + ebp*4 + 0x78]
mov ebp, edx
xor edx, edx
mov dword [ebx + 0x9c], eax
mov eax, esi
div ebp
mov dword [ebx + 0x90], eax
cmp edi, ecx
ja 0x436777
cmp ebp, esi
jbe 0x43655a
movzx ecx, byte [esp + 0x1f]
lea eax, [ecx + 5]
mov byte [esp + 0x18], al
cmp cl, 2
je 0x43685f
movzx ebp, al
mov eax, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + ebp*4 + 0x5c]
lea ecx, [eax + edi]
sub ecx, dword [esp + ebp*4 + 0x40]
mov eax, ecx
div edi
mov edx, dword [esp + ebp*4 + 0x94]
add esi, edx
sub esi, dword [esp + ebp*4 + 0x78]
mov ebp, edx
xor edx, edx
mov dword [ebx + 0x9c], eax
mov eax, esi
div ebp
mov dword [ebx + 0x90], eax
cmp edi, ecx
ja 0x4367d5
cmp ebp, esi
jbe 0x43655a
movzx ecx, byte [esp + 0x1f]
lea eax, [ecx + 6]
mov byte [esp + 0x18], al
cmp cl, 1
je 0x43685f
movzx ebp, al
mov ecx, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + ebp*4 + 0x5c]
add ecx, edi
sub ecx, dword [esp + ebp*4 + 0x40]
mov eax, ecx
div edi
mov edx, dword [esp + ebp*4 + 0x94]
add esi, edx
sub esi, dword [esp + ebp*4 + 0x78]
mov ebp, edx
xor edx, edx
mov dword [ebx + 0x9c], eax
mov eax, esi
div ebp
mov dword [ebx + 0x90], eax
cmp edi, ecx
ja 0x43682e
cmp ebp, esi
jbe 0x43655a
cmp byte [esp + 0x1f], 0
je 0x43685a
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, ecx
mov dword [ebx + 0x9c], edi
shr eax, 1
mov dword [ebx + 0x90], eax
test edi, edi
je 0x43685a
cmp ecx, 1
ja 0x436555
mov byte [esp + 0x18], 7
movzx eax, byte [esp + 0x18]
mov byte [ebx + 0xe0], al
jmp 0x4363dd
mov edi, dword [ebx + 0x44]
test edi, edi
je 0x43687d
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4368c7
mov dword [esp + 4], str.Extra_compressed_data
mov dword [esp], ebx
call sym._png_warning
mov eax, dword [ebx + 0xc8]
or dword [ebx + 0x28], 8
or dword [ebx + 0x2c], 0x20
mov dword [ebx + 0x44], 0
jmp 0x436579
mov dword [esp + 4], str.Extra_compressed_data
mov dword [esp], ebx
call sym._png_warning
or dword [ebx + 0x28], 8
mov eax, dword [ebx + 0xc8]
or dword [ebx + 0x2c], 0x20
jmp 0x43689b
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x436893
jmp 0x43687d
mov dword [esp + 4], str.PNG_unsigned_integer_out_of_range
mov dword [esp], ebx
call sym._png_error
mov dword [esp + 4], str.Not_enough_image_data
mov dword [esp], ebx
call sym._png_error
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x436906
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._png_error
mov eax, str.Decompression_Error
jmp 0x4368fa