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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
xor eax, eax
sub esp, 0x2c
test byte [ebx + 0xa], 8
mov dword [esp + 0x10], edx
je 0x4126d1
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x24]
setbe al
mov esi, dword [ebx]
movzx eax, al
mov dword [esp + 0x18], eax
test esi, esi
je 0x412c45
lea eax, [ebx + 0x39272]
mov dword [esp + 0x14], eax
mov dword [ebx + 0x30], eax
add eax, 0x14cbc
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x412d93
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov ecx, dword [ebx + 0x38]
movzx eax, byte [edx]
sar eax, cl
mov byte [edx], al
xor eax, eax
cmp dword [ebx + 0x38], 8
sete al
sub dword [ebx + 0x28], eax
test byte [ebx + 9], 0x10
je 0x41273e
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x412aec
mov eax, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x44]
mov edi, dword [ebx + 0x30]
xor edx, edx
cmp dword [esp + 0x10], 4
mov ecx, ebp
sete dl
add ebp, 1
mov esi, edx
mov dword [ebx + 0x44], ebp
shl esi, cl
or esi, eax
cmp ebp, 7
mov dword [ebx + 0x48], esi
jbe 0x412799
mov eax, esi
lea esi, [esi]
cmp dword [ebx + 0x34], edi
jbe 0x412786
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov eax, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x44]
mov edi, dword [ebx + 0x30]
sub ebp, 8
shr eax, 8
cmp ebp, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ebp
ja 0x412770
mov esi, eax
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x4128c0
test byte [ebx + 0xa], 4
mov edx, 1
je 0x412ae0
movzx edx, dl
mov eax, ebx
call dbg.tdefl_compress_block
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x412ab8
test eax, eax
je 0x412b7c
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4129fb
mov esi, dword [ebx + 0x34]
cmp edx, esi
jae 0x412daf
lea edi, [ebx + 0x8196]
lea ecx, [ebx + 0x8192]
xor eax, eax
mov dword [ebx + 0x8192], 0
mov dword [ebx + 0x83ce], 0
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x240
shr ecx, 2
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x83d6]
lea ecx, [ebx + 0x83d2]
mov dword [ebx + 0x83d2], 0
mov dword [ebx + 0x840e], 0
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x40
shr ecx, 2
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x9273]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x9272]
add dword [ebx + 0x64], 1
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x3c]
add dword [ebx + 0x40], eax
sub edx, dword [esp + 0x14]
mov dword [ebx + 0x3c], 0
je 0x4128b0
mov eax, dword [ebx]
test eax, eax
je 0x412c2a
mov ecx, dword [ebx + 0x84]
sub ecx, dword [ebx + 0x70]
mov esi, dword [ebx + 0x78]
mov dword [esi], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], edx
lea edx, [ebx + 0x39272]
mov dword [esp + 8], ecx
mov dword [esp], edx
call eax
test eax, eax
je 0x412d35
mov eax, dword [ebx + 0x5c]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x24]
ja 0x412b7c
lea ecx, [ebp + 2]
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x48], esi
cmp ecx, 7
mov dword [ebx + 0x44], ecx
jbe 0x412bde
mov eax, esi
jmp 0x4128f3
mov edi, dword [ebx + 0x30]
cmp dword [ebx + 0x34], edi
jbe 0x412906
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x4128f0
test ecx, ecx
mov esi, eax
jne 0x412bde
mov edx, dword [ebx + 0x30]
mov eax, 2
mov ebp, dword [ebx + 0x3c]
mov edi, eax
mov eax, esi
mov esi, edi
movzx ebp, bp
shl ebp, cl
add ecx, 0x10
or eax, ebp
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
cmp edx, dword [ebx + 0x34]
jae 0x412958
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412942
mov edi, dword [ebx + 0x3c]
mov ebp, edi
xor ebp, 0xffff
cmp esi, 1
mov dword [ebx + 0x3c], ebp
jne 0x412c20
mov esi, eax
xor eax, eax
cmp edi, 0xffff
je 0x4127d4
mov edi, eax
mov eax, esi
mov esi, edi
lea esi, [esi]
lea edi, [edi]
mov edi, dword [ebx + 0x40]
add edi, esi
and edi, 0x7fff
movzx edi, byte [ebx + edi + 0x90]
shl edi, cl
add ecx, 8
or eax, edi
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
cmp edx, dword [ebx + 0x34]
jae 0x4129d6
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x4129c0
add esi, 1
cmp esi, dword [ebx + 0x3c]
jb 0x4129a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4127e0
cmp dword [esp + 0x10], 4
je 0x412c6b
mov eax, dword [ebx + 0x44]
lea ecx, [eax + 3]
cmp ecx, 7
mov dword [ebx + 0x44], ecx
jbe 0x412a47
mov eax, dword [ebx + 0x48]
mov esi, esi
lea edi, [edi]
cmp edx, dword [ebx + 0x34]
jae 0x412a36
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412a20
test ecx, ecx
jne 0x412b96
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x34]
mov ebp, dword [esp + 0x1c]
mov edi, 2
mov dword [esp + 0x10], edx
mov edx, ebp
shl edx, cl
add ecx, 0x10
or eax, edx
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
cmp edx, esi
jae 0x412a8d
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412a75
xor ebp, 0xffff
cmp edi, 1
mov dword [esp + 0x10], edx
je 0x4127e3
mov edi, 1
jmp 0x412a62
mov edx, dword [ebx + 0x30]
sub edx, edi
add edx, 1
cmp ecx, edx
ja 0x4127c9
mov edx, dword [ebx + 0x1c]
sub edx, dword [ebx + 0x40]
cmp edx, dword [ebx + 0x24]
ja 0x4127c9
jmp 0x4128cf
cmp dword [ebx + 0x3c], 0x2f
setbe dl
jmp 0x4127b4
mov ebp, dword [ebx + 0x44]
mov eax, 0x78
mov edi, dword [ebx + 0x30]
mov ecx, ebp
shl eax, cl
or eax, dword [ebx + 0x48]
lea ecx, [ebp + 8]
cmp ecx, 7
mov dword [ebx + 0x44], ecx
mov edx, eax
mov dword [ebx + 0x48], eax
jbe 0x412d1e
cmp dword [ebx + 0x34], edi
mov ebp, ecx
jbe 0x412b2a
lea eax, [edi + 1]
mov dword [ebx + 0x30], eax
mov byte [edi], dl
mov edx, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x44]
mov edi, dword [ebx + 0x30]
lea ecx, [ebp - 8]
shr edx, 8
mov dword [ebx + 0x48], edx
cmp ecx, 7
mov dword [ebx + 0x44], ecx
ja 0x412b12
mov eax, 1
mov dword [ebx + 0x44], ebp
shl eax, cl
or eax, edx
mov dword [ebx + 0x48], eax
lea esi, [esi]
cmp dword [ebx + 0x34], edi
jbe 0x412b66
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov eax, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x44]
mov edi, dword [ebx + 0x30]
sub ebp, 8
shr eax, 8
cmp ebp, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ebp
ja 0x412b50
jmp 0x412747
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x48], esi
mov edx, 1
mov dword [ebx + 0x44], ebp
mov eax, ebx
call dbg.tdefl_compress_block
jmp 0x4127d1
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x34]
mov ecx, 8
mov dword [ebx + 0x44], 8
nop
lea esi, [esi]
cmp edx, esi
jae 0x412bc8
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412bb0
jmp 0x412a55
mov esi, dword [ebx + 0x48]
mov edx, dword [ebx + 0x30]
mov ecx, 8
mov dword [ebx + 0x44], 8
mov eax, esi
cmp edx, dword [ebx + 0x34]
jae 0x412c08
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412bf2
mov esi, eax
jmp 0x412924
mov esi, 1
jmp 0x412932
lea eax, [ebx + 0x39272]
cmp dword [esp + 0x14], eax
je 0x412d46
add dword [ebx + 0x8c], edx
jmp 0x4128b0
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x8c]
mov eax, dword [eax]
sub eax, edx
cmp eax, 0x14ccb
jbe 0x4126e2
add edx, dword [ebx + 0x74]
mov dword [esp + 0x14], edx
mov eax, edx
jmp 0x4126ec
mov ecx, dword [ebx + 0x44]
test ecx, ecx
jne 0x412cd8
mov esi, dword [ebx + 0x34]
test byte [ebx + 9], 0x10
je 0x4127e3
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x10], 4
mov edi, ebp
shr edi, 0x18
shl edi, cl
add ecx, 8
or eax, edi
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
nop
cmp edx, esi
jae 0x412cb8
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412ca0
shl ebp, 8
sub dword [esp + 0x10], 1
jne 0x412c8d
jmp 0x4127e3
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x34]
mov ecx, 8
mov dword [ebx + 0x44], 8
lea esi, [esi]
cmp edx, esi
jae 0x412d08
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
sub ecx, 8
shr eax, 8
cmp ecx, 7
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
ja 0x412cf0
jmp 0x412c75
mov eax, 1
add ebp, 0x10
shl eax, cl
mov dword [ebx + 0x44], ebp
or eax, edx
mov dword [ebx + 0x48], eax
jmp 0x412b50
mov dword [ebx + 0x6c], 0xffffffff
mov eax, 0xffffffff
jmp 0x4128b3
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x8c]
mov esi, dword [ecx]
sub esi, eax
cmp esi, edx
jbe 0x412d59
mov esi, edx
add eax, dword [ebx + 0x74]
mov edi, dword [esp + 0x14]
mov dword [esp + 8], esi
mov dword [esp + 0x10], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._memcpy
mov edx, dword [esp + 0x10]
add dword [ebx + 0x8c], esi
sub edx, esi
je 0x4128b0
mov dword [ebx + 0x58], esi
mov eax, edx
mov dword [ebx + 0x5c], edx
jmp 0x4128b3
mov dword [esp + 8], 0x4c1
mov dword [esp + 4], str.miniz.c
mov dword [esp], str._d__m_output_flush_remaining
call sym.__assert
mov dword [esp + 8], 0x515
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.d__m_pOutput_buf___d__m_pOutput_buf_end
call sym.__assert
nop
lea esi, [esi]