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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
push edi
mov edi, edx
mov dword [ebp - 0x14], edi
test dword [esi + 8], 0x80000
je 0x420912
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [ebp - 8], 1
cmp eax, dword [esi + 0x24]
jbe 0x420919
mov dword [ebp - 8], 0
cmp dword [esi], 0
jne 0x420939
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x420939
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x42093f
lea eax, [esi + 0x39272]
mov dword [ebp - 0x10], eax
mov dword [esi + 0x30], eax
add eax, 0x14cbc
cmp dword [esi + 0x5c], 0
mov dword [esi + 0x34], eax
je 0x42096a
push 0x4f3
push str.d:2024ls2024miniz.c
push str._d__m_output_flush_remaining
call fcn.0044b48e
add esp, 0xc
mov eax, dword [esi + 0x2c]
mov cl, byte [esi + 0x38]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
mov ecx, dword [esi + 8]
sete al
sub dword [esi + 0x28], eax
test ecx, 0x1000
je 0x420a7e
cmp dword [esi + 0x64], 0
jne 0x420a7e
xor eax, eax
and ecx, 0xfff
nop dword [eax]
cmp dword [eax*4 + 0x47a638], ecx
je 0x4209bf
inc eax
cmp eax, 0xb
jb 0x4209b0
cmp eax, 2
jae 0x4209c8
xor ecx, ecx
jmp 0x4209e1
cmp eax, 6
jae 0x4209d4
mov ecx, 1
jmp 0x4209e1
mov ecx, 3
mov edx, 2
cmove ecx, edx
or ecx, 0x1e0
mov eax, 0x8421085
shl ecx, 6
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, 0x78
shr ecx, 4
inc cl
mov bl, cl
shl bl, 5
sub bl, cl
mov ecx, dword [esi + 0x44]
shl edx, cl
or edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420a44
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420a2d
mov byte [eax], dl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add eax, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x420a20
movzx ebx, bl
mov ecx, eax
shl ebx, cl
add eax, 8
or ebx, edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ebx
cmp eax, 8
jb 0x420a7e
nop dword [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420a6d
mov byte [eax], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov bl, byte [esi + 0x48]
jae 0x420a60
mov ecx, dword [esi + 0x44]
xor eax, eax
cmp edi, 4
sete al
shl eax, cl
inc ecx
or eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [ebp - 4], ecx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x420ace
nop dword [eax]
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x34]
jae 0x420ab0
mov byte [edi], al
inc dword [esi + 0x30]
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
shr ebx, 8
mov dword [esi + 0x48], ebx
lea ecx, [eax - 8]
mov al, bl
mov dword [ebp - 4], ecx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x420aa0
jmp 0x420ad3
mov edi, dword [esi + 0x30]
mov ebx, eax
cmp dword [ebp - 8], 0
jne 0x420b14
test dword [esi + 8], 0x40000
jne 0x420aec
cmp dword [esi + 0x3c], 0x30
jb 0x420aec
xor edx, edx
jmp 0x420af1
mov edx, 1
mov ecx, esi
call fcn.004207c0
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0xc], eax
test edx, edx
je 0x420c39
sub ecx, edi
inc ecx
cmp ecx, edx
jb 0x420c39
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x420c36
mov eax, dword [ebp - 4]
add eax, 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420b5b
cmp edi, dword [esi + 0x34]
jae 0x420b41
mov byte [edi], bl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
mov edi, dword [esi + 0x30]
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x420b37
test eax, eax
je 0x420b8e
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
nop dword [eax]
cmp edi, dword [esi + 0x34]
jae 0x420b7a
mov byte [edi], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov edi, dword [esi + 0x30]
mov bl, byte [esi + 0x48]
jae 0x420b70
mov eax, dword [esi + 0x3c]
mov edi, 2
mov ecx, dword [esi + 0x44]
movzx edx, ax
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 0x10]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420bce
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420bbd
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x420bb0
mov eax, dword [esi + 0x3c]
xor eax, 0xffff
mov dword [esi + 0x3c], eax
sub edi, 1
jne 0x420b96
test eax, eax
je 0x420c55
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add eax, edi
and eax, 0x7fff
movzx edx, byte [eax + esi + 0x90]
lea eax, [ecx + 8]
shl edx, cl
or edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420c2e
nop word [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420c1d
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x420c10
inc edi
cmp edi, dword [esi + 0x3c]
jb 0x420be2
jmp 0x420c55
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x420c55
mov eax, dword [ebp - 4]
mov edx, 1
mov ecx, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
call fcn.004207c0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x420da9
mov eax, dword [esi + 0x44]
cmp ecx, 4
jne 0x420cfb
test eax, eax
je 0x420c9e
mov cl, byte [esi + 0x48]
mov dword [esi + 0x44], 8
nop word [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420c8d
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov ecx, dword [esi + 0x48]
jae 0x420c80
test dword [esi + 8], 0x1000
je 0x420da9
mov edi, dword [esi + 0x18]
mov ebx, 4
mov ecx, dword [esi + 0x44]
mov edx, edi
shr edx, 0x18
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 8]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420cee
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420cdd
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x420cd0
shl edi, 8
sub ebx, 1
jne 0x420cb3
jmp 0x420da9
mov ecx, dword [esi + 0x48]
add eax, 3
xor ebx, ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420d34
nop dword [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420d1d
mov byte [eax], cl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ecx, 8
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x420d10
test eax, eax
je 0x420d60
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420d4f
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov cl, byte [esi + 0x48]
jae 0x420d42
mov edi, 2
mov ecx, dword [esi + 0x44]
movzx edx, bx
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 0x10]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x420d9e
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x420d8d
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x420d80
xor ebx, 0xffff
sub edi, 1
jne 0x420d65
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jb 0x420dc8
push 0x55a
push str.d:2024ls2024miniz.c
push str.d__m_pOutput_buf___d__m_pOutput_buf_end
call fcn.0044b48e
add esp, 0xc
push 0x280
lea eax, [esi + 0x8192]
push 0
push eax
call fcn.00443a00
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0xc
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], 0
sub ebx, eax
je 0x420e9a
cmp dword [esi], 0
je 0x420e4f
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push ebx
push eax
mov eax, dword [esi]
call eax
add esp, 0xc
test eax, eax
jne 0x420e9a
pop edi
mov dword [esi + 0x6c], 0xffffffff
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x420e94
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov edi, dword [eax]
mov eax, dword [esi + 0x74]
sub edi, ecx
cmp ebx, edi
cmovb edi, ebx
add eax, ecx
push edi
push edx
push eax
call fcn.00442f00
add dword [esi + 0x8c], edi
add esp, 0xc
sub ebx, edi
je 0x420e9a
mov dword [esi + 0x58], edi
mov eax, ebx
pop edi
mov dword [esi + 0x5c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x8c], ebx
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret