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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
and esp, 0xfffffff0
sub esp, 0x30
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0
test byte [eax + 0xa], 8
je 0x100c3d63
mov eax, dword [eax + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
setae al
movzx eax, al
mov dword [esp + 0x24], eax
mov edi, dword [ebx]
test edi, edi
je 0x100c44a8
lea eax, [ebx + 0x39272]
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x30], eax
add eax, 0x14cbc
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100c47ee
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
movzx eax, byte [edx]
sar eax, cl
mov byte [edx], al
xor eax, eax
cmp dword [ebx + 0x38], 8
sete al
mov ecx, dword [ebx + 0x44]
sub dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x48]
test byte [ebx + 9], 0x10
jne 0x100c40e0
mov edi, dword [ebx + 0x30]
xor edx, edx
cmp dword [esp + 0x28], 4
sete dl
mov esi, edx
lea edx, [ecx + 1]
shl esi, cl
mov dword [ebx + 0x44], edx
or esi, eax
mov dword [ebx + 0x48], esi
cmp edx, 7
jbe 0x100c3f98
mov ecx, esi
cmp edi, dword [ebx + 0x34]
jb 0x100c3f70
mov esi, ecx
sub edx, 8
shr esi, 8
mov dword [ebx + 0x44], edx
mov eax, edx
mov dword [ebx + 0x48], esi
cmp edx, 7
jbe 0x100c3f98
lea ecx, [edx - 8]
test dl, 8
je 0x100c3e28
shr esi, 8
mov eax, ecx
cmp ecx, 7
jbe 0x100c3e33
lea esi, cs:[esi]
sub eax, 0x10
shr esi, 0x10
cmp eax, 7
ja 0x100c3e28
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x48], esi
and edx, 7
mov dword [ebx + 0x44], eax
test ecx, ecx
je 0x100c3fa4
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
jae 0x100c42e0
mov dword [ebx + 0x44], edx
mov eax, ebx
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x48], esi
call sym._tdefl_start_static_block
mov eax, ebx
call sym._tdefl_compress_lz_codes
mov eax, dword [ebx + 0x30]
mov edi, dword [esp + 0x28]
test edi, edi
je 0x100c4008
mov ecx, dword [ebx + 0x44]
cmp edi, 4
je 0x100c4560
add ecx, 3
mov edx, eax
mov esi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c41ab
cmp edx, eax
jb 0x100c4180
shr esi, 8
sub ecx, 8
mov dword [ebx + 0x48], esi
mov dword [esp + 0x28], ecx
cmp ecx, 7
jbe 0x100c41ab
lea edi, [ecx - 8]
test cl, 8
jne 0x100c47b8
mov edi, ecx
lea esi, [esi]
sub edi, 0x10
shr esi, 0x10
cmp edi, 7
ja 0x100c3ed0
and ecx, 7
mov dword [ebx + 0x48], esi
test ecx, ecx
jne 0x100c41b3
lea esi, [esi]
mov dword [esp + 0x28], 2
mov edi, eax
add ecx, 0x10
mov eax, esi
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp edx, edi
jb 0x100c4208
sub ecx, 8
shr eax, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
mov dword [esp + 0x24], ecx
cmp ecx, 7
jbe 0x100c4231
lea esi, [ecx - 8]
test cl, 8
je 0x100c3f3a
mov dword [esp + 0x24], esi
shr eax, 8
cmp esi, 7
jbe 0x100c3f4f
mov esi, dword [esp + 0x24]
nop
sub esi, 0x10
shr eax, 0x10
cmp esi, 7
ja 0x100c3f40
mov dword [esp + 0x24], esi
and ecx, 7
sub dword [esp + 0x28], 1
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], esi
jne 0x100c423c
mov eax, edi
jmp 0x100c400d
lea eax, [edi + 1]
mov dword [ebx + 0x30], eax
mov byte [edi], cl
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
mov edi, dword [ebx + 0x30]
shr ecx, 8
lea edx, [eax - 8]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], edx
cmp edx, 7
ja 0x100c3def
mov esi, ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x100c3e48
test byte [ebx + 0xa], 4
jne 0x100c3fb4
cmp dword [ebx + 0x3c], 0x2f
ja 0x100c4163
mov eax, ebx
mov dword [esp + 0x24], edx
call sym._tdefl_start_static_block
mov edx, dword [esp + 0x24]
mov eax, ebx
mov dword [esp + 0x24], edx
call sym._tdefl_compress_lz_codes
mov ecx, dword [ebx + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x100c3fed
mov eax, dword [ebx + 0x30]
sub eax, edi
add eax, 1
cmp eax, ecx
jae 0x100c42d1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100c3e57
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
test edi, edi
jne 0x100c3e7d
mov edx, eax
mov eax, dword [ebx + 0x34]
cmp edx, eax
jae 0x100c47d1
lea edi, [ebx + 0x8196]
xor eax, eax
lea ecx, [ebx + 0x8192]
mov dword [ebx + 0x8192], 0
and edi, 0xfffffffc
pxor xmm0, xmm0
mov esi, 8
mov dword [ebx + 0x83ce], 0
sub ecx, edi
add ecx, 0x240
shr ecx, 2
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x9273]
xor edi, edi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x9272]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x3c]
add dword [ebx + 0x40], eax
mov eax, dword [esp + 0x2c]
add dword [ebx + 0x64], 1
mov dword [ebx + 0x3c], edi
movups xmmword [ebx + 0x83d2], xmm0
movups xmmword [ebx + 0x83e2], xmm0
movups xmmword [ebx + 0x83f2], xmm0
movups xmmword [ebx + 0x8402], xmm0
sub edx, eax
je 0x100c40ce
mov ecx, dword [ebx]
test ecx, ecx
je 0x100c46c8
mov esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x84]
sub eax, dword [ebx + 0x70]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [ebx + 0x39272]
mov dword [esp], eax
call ecx
test eax, eax
je 0x100c4739
mov eax, dword [ebx + 0x5c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebx + 0x64]
test esi, esi
jne 0x100c3dc8
mov edx, 0x78
lea esi, [ecx + 8]
mov edi, dword [ebx + 0x30]
shl edx, cl
mov dword [ebx + 0x44], esi
or eax, edx
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x48], eax
cmp esi, 7
jbe 0x100c46f1
cmp edi, edx
jb 0x100c4258
lea ecx, [esi - 8]
shr eax, 8
mov dword [esp + 0x1c], ecx
cmp ecx, 7
jbe 0x100c480b
test esi, 8
jne 0x100c4140
lea ecx, [esi - 0x10]
shr eax, 8
cmp ecx, 7
jbe 0x100c414b
lea esi, [esi]
sub ecx, 0x10
shr eax, 0x10
cmp ecx, 7
ja 0x100c4140
mov ecx, dword [esp + 0x1c]
sub esi, 0x10
and esi, 0xfffffff8
sub ecx, esi
mov esi, dword [esp + 0x1c]
and esi, 7
jmp 0x100c4281
mov eax, ebx
mov dword [esp + 0x24], edx
call sym._tdefl_start_dynamic_block
mov edx, dword [esp + 0x24]
jmp 0x100c3fc3
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, esi
mov byte [edx], al
mov esi, dword [ebx + 0x48]
mov edi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
shr esi, 8
mov eax, dword [ebx + 0x34]
lea ecx, [edi - 8]
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c3ea0
test ecx, ecx
je 0x100c3ef0
mov dword [ebx + 0x44], 8
mov ecx, 8
cmp edx, eax
jb 0x100c4530
sub ecx, 8
shr esi, 8
mov dword [esp + 0x28], ecx
cmp ecx, 7
jbe 0x100c3ef0
lea edi, [ecx - 8]
test cl, 8
jne 0x100c4766
mov edi, ecx
lea esi, cs:[esi]
sub edi, 0x10
shr esi, 0x10
cmp edi, 7
ja 0x100c41f0
and ecx, 7
jmp 0x100c3ef0
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
shr eax, 8
mov edi, dword [ebx + 0x34]
lea ecx, [esi - 8]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c3f05
sub dword [esp + 0x28], 1
je 0x100c3f63
xor dword [esp + 0x20], 0xffff
mov esi, dword [esp + 0x20]
shl esi, cl
add ecx, 0x10
or eax, esi
jmp 0x100c3eff
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x48]
mov edi, dword [ebx + 0x30]
lea esi, [ecx - 8]
mov edx, dword [ebx + 0x34]
shr eax, 8
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], eax
cmp esi, 7
ja 0x100c410c
bts eax, esi
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
cmp edi, edx
jae 0x100c42bb
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x44]
mov edi, dword [ebx + 0x30]
shr eax, 8
lea ecx, [esi - 8]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c3dcb
mov edx, dword [ebx + 0x34]
cmp edi, edx
jb 0x100c428e
shr eax, 8
sub ecx, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c428a
jmp 0x100c3dcb
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
jb 0x100c3fed
lea ecx, [edx + 2]
mov dword [ebx + 0x30], edi
mov eax, esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c4322
jmp 0x100c44d1
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x44]
shr eax, 8
lea ecx, [esi - 8]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c4338
mov edi, dword [ebx + 0x30]
cmp edi, dword [ebx + 0x34]
jb 0x100c4300
shr eax, 8
sub ecx, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c431f
mov esi, eax
test ecx, ecx
jne 0x100c44ce
movzx edx, word [ebx + 0x3c]
mov eax, dword [ebx + 0x30]
mov edi, 2
shl edx, cl
add ecx, 0x10
or edx, esi
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
cmp eax, dword [ebx + 0x34]
jb 0x100c43a8
shr edx, 8
sub ecx, 8
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c43ca
mov dword [esp + 0x24], ecx
lea esi, [ecx - 8]
test cl, 8
jne 0x100c477f
mov esi, ecx
lea esi, cs:[esi]
sub esi, 0x10
shr edx, 0x10
cmp esi, 7
ja 0x100c4388
mov dword [esp + 0x24], esi
mov dword [ebx + 0x48], edx
and ecx, 7
mov dword [ebx + 0x44], esi
jmp 0x100c43ca
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
lea ecx, [eax - 8]
mov eax, dword [ebx + 0x30]
shr edx, 8
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
cmp ecx, 7
ja 0x100c435b
mov esi, dword [ebx + 0x3c]
mov dword [esp + 0x24], esi
xor esi, 0xffff
mov dword [ebx + 0x3c], esi
sub edi, 1
je 0x100c43f0
movzx esi, si
shl esi, cl
add ecx, 0x10
or edx, esi
jmp 0x100c4355
cmp dword [esp + 0x24], 0xffff
je 0x100c3e71
nop
mov esi, dword [ebx + 0x40]
add esi, edi
and esi, 0x7fff
movzx esi, byte [ebx + esi + 0x90]
shl esi, cl
add ecx, 8
or edx, esi
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
cmp eax, dword [ebx + 0x34]
jb 0x100c4470
shr edx, 8
sub ecx, 8
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c4492
mov dword [esp + 0x24], ecx
lea esi, [ecx - 8]
test cl, 8
jne 0x100c4798
mov esi, ecx
lea esi, cs:[esi]
sub esi, 0x10
shr edx, 0x10
cmp esi, 7
ja 0x100c4450
mov dword [esp + 0x24], esi
mov dword [ebx + 0x48], edx
and ecx, 7
mov dword [ebx + 0x44], esi
jmp 0x100c4492
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
lea ecx, [eax - 8]
mov eax, dword [ebx + 0x30]
shr edx, 8
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
cmp ecx, 7
ja 0x100c4420
add edi, 1
cmp edi, dword [ebx + 0x3c]
jb 0x100c4400
jmp 0x100c3e71
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x8c]
mov eax, dword [eax]
sub eax, edx
cmp eax, 0x14ccb
jbe 0x100c3d6d
add edx, dword [ebx + 0x74]
mov dword [esp + 0x2c], edx
mov eax, edx
jmp 0x100c3d77
mov edi, dword [ebx + 0x30]
mov dword [ebx + 0x44], 8
mov ecx, 8
mov eax, esi
jmp 0x100c450a
lea edx, [edi + 1]
mov dword [ebx + 0x30], edx
mov byte [edi], al
mov eax, dword [ebx + 0x48]
mov edi, dword [ebx + 0x44]
shr eax, 8
lea ecx, [edi - 8]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c4520
mov edi, dword [ebx + 0x30]
cmp edi, dword [ebx + 0x34]
jb 0x100c44e8
shr eax, 8
sub ecx, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c4507
mov esi, eax
jmp 0x100c4342
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, esi
mov byte [edx], al
mov esi, dword [ebx + 0x48]
mov edi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
shr esi, 8
mov eax, dword [ebx + 0x34]
lea ecx, [edi - 8]
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x100c3ef0
jmp 0x100c41bf
test ecx, ecx
je 0x100c46e7
mov dword [ebx + 0x44], 8
mov edx, eax
mov esi, dword [ebx + 0x48]
mov ecx, 8
mov eax, dword [ebx + 0x34]
cmp edx, eax
jb 0x100c45cb
mov edi, esi
sub ecx, 8
mov dword [esp + 0x24], esi
shr edi, 8
mov dword [ebx + 0x44], ecx
mov dword [esp + 0x28], edi
mov dword [ebx + 0x48], edi
mov edi, ecx
cmp ecx, 7
jbe 0x100c45f2
lea esi, [ecx - 8]
mov dword [esp + 0x20], esi
test cl, 8
jne 0x100c474a
mov esi, dword [esp + 0x28]
sub edi, 0x10
shr esi, 0x10
cmp edi, 7
ja 0x100c45b1
mov dword [esp + 0x28], esi
mov dword [ebx + 0x48], esi
and ecx, 7
mov dword [ebx + 0x44], edi
jmp 0x100c45f2
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
mov eax, esi
mov byte [edx], al
mov esi, dword [ebx + 0x48]
mov edi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
shr esi, 8
mov eax, dword [ebx + 0x34]
lea ecx, [edi - 8]
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c457c
test byte [ebx + 9], 0x10
je 0x100c400d
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x24], 4
mov esi, edi
mov dword [esp + 0x28], edi
mov edi, dword [ebx + 0x48]
shr esi, 0x18
shl esi, cl
add ecx, 8
or edi, esi
mov esi, edi
mov edi, eax
mov eax, esi
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp edx, edi
jb 0x100c4680
sub ecx, 8
shr eax, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
mov dword [esp + 0x20], ecx
cmp ecx, 7
jbe 0x100c46a5
lea esi, [ecx - 8]
test cl, 8
je 0x100c47b1
mov dword [esp + 0x20], esi
shr eax, 8
cmp esi, 7
jbe 0x100c466f
mov esi, dword [esp + 0x20]
lea esi, cs:[esi]
sub esi, 0x10
shr eax, 0x10
cmp esi, 7
ja 0x100c4660
mov dword [esp + 0x20], esi
mov dword [ebx + 0x48], eax
and ecx, 7
mov dword [ebx + 0x44], esi
jmp 0x100c46a5
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x48]
mov esi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
shr eax, 8
mov edi, dword [ebx + 0x34]
lea ecx, [esi - 8]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x100c4626
shl dword [esp + 0x28], 8
sub dword [esp + 0x24], 1
je 0x100c3f63
mov esi, dword [esp + 0x28]
shr esi, 0x18
shl esi, cl
add ecx, 8
or eax, esi
jmp 0x100c4620
mov edi, eax
lea ecx, [ebx + 0x39272]
mov eax, dword [ebx + 0x8c]
cmp ecx, edi
je 0x100c46f9
add eax, edx
mov dword [ebx + 0x8c], eax
jmp 0x100c40ce
mov edx, eax
mov eax, dword [ebx + 0x34]
jmp 0x100c45f2
add ecx, 0x10
jmp 0x100c4281
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x28], edx
mov esi, dword [ecx]
sub esi, eax
cmp esi, edx
cmova esi, edx
add eax, dword [ebx + 0x74]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 8], esi
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x28]
add dword [ebx + 0x8c], esi
sub eax, esi
je 0x100c40ce
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], eax
jmp 0x100c40d1
mov dword [ebx + 0x6c], 0xffffffff
mov eax, 0xffffffff
jmp 0x100c40d1
mov esi, dword [esp + 0x24]
lea edi, [ecx - 8]
shr esi, 0x10
mov dword [esp + 0x28], esi
cmp edi, 7
ja 0x100c45ad
jmp 0x100c45c0
mov dword [esp + 0x28], edi
shr esi, 8
cmp edi, 7
jbe 0x100c41fb
mov edi, dword [esp + 0x28]
jmp 0x100c41f0
mov dword [esp + 0x24], esi
shr edx, 8
cmp esi, 7
jbe 0x100c4397
mov esi, dword [esp + 0x24]
jmp 0x100c4388
mov dword [esp + 0x24], esi
shr edx, 8
cmp esi, 7
jbe 0x100c445f
mov esi, dword [esp + 0x24]
jmp 0x100c4450
mov esi, ecx
jmp 0x100c4660
mov dword [esp + 0x28], edi
shr esi, 8
cmp edi, 7
jbe 0x100c3edb
mov edi, dword [esp + 0x28]
jmp 0x100c3ed0
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 dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x4c1
mov dword [esp + 4], str.miniz.c
mov dword [esp], str._d__m_output_flush_remaining
call dword [sym.imp.msvcrt.dll__assert]
mov ecx, esi
mov esi, dword [esp + 0x1c]
jmp 0x100c4281