Function at 0x436230
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x34
test eax, eax
push ebp
je 0x437899
mov ebp, dword [eax + 0x1c]
test ebp, ebp
je 0x437899
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x437899
cmp dword [eax], 0
jne 0x436266
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x437899
cmp dword [ebp], 0xb
jne 0x436273
mov dword [ebp], 0xc
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp]
cmp ecx, 0x1e
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
jbe switch.0x004362c4
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x34
ret
mov eax, dword [esp + 0x10]
jmp dword [ecx*4 + 0x4378a4]
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4362de
mov dword [ebp], 0xc
jmp 0x437700
cmp ebx, 0x10
jae 0x43630a
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4362e3
test byte [ebp + 8], 2
je 0x436354
cmp eax, 0x8b1f
jne 0x436354
xor ebx, ebx
push ebx
push ebx
push ebx
call fcn.00435e60
mov dword [ebp + 0x18], eax
push 2
lea eax, [esp + 0x34]
mov byte [esp + 0x34], 0x1f
mov byte [esp + 0x35], 0x8b
mov ecx, dword [ebp + 0x18]
push eax
push ecx
call fcn.00435e60
add esp, 0x18
mov dword [ebp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [ebp], 1
jmp 0x437700
mov eax, dword [ebp + 0x20]
test eax, eax
mov dword [ebp + 0x10], 0
je 0x436369
mov dword [eax + 0x30], 0xffffffff
test byte [ebp + 8], 1
je 0x43641f
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0xff
shl eax, 8
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x43641f
mov ecx, dword [esp + 0x10]
mov edx, ecx
and dl, 0xf
cmp dl, 8
je 0x4363b5
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x4376f9
mov eax, dword [ebp + 0x24]
shr ecx, 4
mov dword [esp + 0x10], ecx
and ecx, 0xf
sub ebx, 4
add ecx, 8
test eax, eax
jne 0x43640b
mov dword [ebp + 0x24], ecx
xor ebx, ebx
mov edx, 1
shl edx, cl
push ebx
push ebx
push ebx
mov dword [ebp + 0x14], edx
call fcn.0043a1e0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
shr edx, 8
not edx
and edx, 2
add esp, 0xc
mov dword [ebp + 0x18], eax
or edx, 9
mov dword [ecx + 0x30], eax
mov dword [ebp], edx
mov dword [esp + 0x10], ebx
jmp 0x437700
cmp ecx, eax
jbe 0x4363cf
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x4376f9
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.incorrect_header_check
jmp 0x4376f9
cmp ebx, 0x10
jae 0x43645b
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x436434
cmp al, 8
mov dword [ebp + 0x10], eax
je 0x436472
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x4376f9
test ah, 0xe0
je 0x436487
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.unknown_header_flags_set
jmp 0x4376f9
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x436496
shr eax, 8
and eax, 1
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
test ah, 2
je 0x4364c3
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
shr eax, 8
push 2
lea edx, [esp + 0x28]
mov byte [esp + 0x29], al
mov eax, dword [ebp + 0x18]
push edx
push eax
call fcn.00435e60
add esp, 0xc
mov dword [ebp + 0x18], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp], 2
jmp 0x4364d5
cmp ebx, 0x20
jae 0x4364f4
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
add eax, edx
inc esi
cmp ebx, 0x20
mov dword [esp + 0x10], eax
jb 0x4364d5
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4364fe
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
test ah, 2
je 0x43653d
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
shr ecx, 8
mov byte [esp + 0x27], al
shr edx, 0x10
push 4
lea eax, [esp + 0x28]
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], dl
mov ecx, dword [ebp + 0x18]
push eax
push ecx
call fcn.00435e60
add esp, 0xc
mov dword [ebp + 0x18], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp], 3
jmp 0x436550
cmp ebx, 0x10
jae 0x436577
nop
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x436550
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x436592
mov edx, eax
and edx, 0xff
mov dword [ecx + 8], edx
mov ecx, dword [ebp + 0x20]
shr eax, 8
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x10]
test ah, 2
je 0x4365bf
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
shr eax, 8
push 2
lea edx, [esp + 0x28]
mov byte [esp + 0x29], al
mov eax, dword [ebp + 0x18]
push edx
push eax
call fcn.00435e60
add esp, 0xc
mov dword [ebp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [ebp], 4
mov ecx, dword [ebp + 0x10]
test ch, 4
je 0x43664b
cmp ebx, 0x10
jae 0x436607
jmp 0x4365e0
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4365e0
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov dword [ebp + 0x40], eax
je 0x436614
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x10]
test ah, 2
je 0x436641
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], al
shr eax, 8
mov byte [esp + 0x25], al
mov ecx, dword [ebp + 0x18]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00435e60
add esp, 0xc
mov dword [ebp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor ebx, ebx
jmp 0x436659
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x436659
mov dword [ecx + 0x10], 0
mov dword [ebp], 5
mov ecx, dword [ebp + 0x10]
test ch, 4
je 0x436718
mov ecx, dword [ebp + 0x40]
cmp ecx, edi
mov dword [esp + 0x1c], ecx
jbe 0x43667d
mov ecx, edi
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x43670d
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x4366d4
mov edx, dword [edx + 0x10]
test edx, edx
mov dword [esp + 0x2c], edx
je 0x4366d4
mov edx, dword [ebp + 0x20]
mov edi, dword [edx + 0x14]
mov esi, dword [ebp + 0x40]
mov edx, dword [edx + 0x18]
sub edi, esi
lea esi, [ecx + edi]
cmp esi, edx
jbe 0x4366b0
sub edx, edi
mov ecx, edx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
test dh, 2
je 0x4366f9
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x18]
push eax
push esi
push ecx
call fcn.00435e60
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [ebp + 0x40]
sub edi, ecx
add esi, ecx
sub edx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [ebp + 0x40], edx
mov ecx, dword [ebp + 0x40]
test ecx, ecx
jne 0x43775c
mov dword [ebp + 0x40], 0
mov dword [ebp], 6
mov ecx, dword [ebp + 0x10]
test ch, 8
je 0x4367d0
test edi, edi
je 0x43775c
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [ecx + esi]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov dword [esp + 0x2c], edx
je 0x436781
mov edx, dword [ecx + 0x1c]
test edx, edx
mov dword [esp + 0x18], edx
je 0x436781
mov edx, dword [ebp + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x436781
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x2c]
mov byte [ecx + edx], al
inc dword [ebp + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x436791
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jb 0x436740
mov ecx, dword [ebp + 0x10]
test ch, 2
je 0x4367b2
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push esi
push eax
call fcn.00435e60
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
sub edi, ecx
add esi, ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jne 0x43775c
jmp 0x4367de
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4367de
mov dword [ecx + 0x1c], 0
mov dword [ebp + 0x40], 0
mov dword [ebp], 7
mov ecx, dword [ebp + 0x10]
test ch, 0x10
je 0x436892
test edi, edi
je 0x43775c
xor ecx, ecx
movzx edx, byte [ecx + esi]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov dword [esp + 0x2c], edx
je 0x436843
mov edx, dword [ecx + 0x24]
test edx, edx
mov dword [esp + 0x18], edx
je 0x436843
mov edx, dword [ebp + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x436843
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x2c]
mov byte [ecx + edx], al
inc dword [ebp + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x436853
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jb 0x436802
mov ecx, dword [ebp + 0x10]
test ch, 2
je 0x436874
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push esi
push eax
call fcn.00435e60
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
sub edi, ecx
add esi, ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jne 0x43775c
jmp 0x4368a0
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4368a0
mov dword [ecx + 0x24], 0
mov dword [ebp], 8
mov ecx, dword [ebp + 0x10]
test ch, 2
je 0x4368fe
cmp ebx, 0x10
jae 0x4368db
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4368b4
mov ecx, dword [ebp + 0x18]
and ecx, 0xffff
cmp eax, ecx
je 0x4368f8
mov edx, dword [esp + 0x48]
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4376f9
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x43691b
mov ecx, dword [ebp + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp + 0x20]
mov dword [edx + 0x30], 1
push 0
push 0
push 0
call fcn.00435e60
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x18], eax
mov dword [ecx + 0x30], eax
add esp, 0xc
mov dword [ebp], 0xb
jmp 0x437700
cmp ebx, 0x20
jae 0x43696b
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x436944
mov ecx, eax
mov edx, eax
and ecx, 0xff00
shl edx, 0x10
add ecx, edx
xor edx, edx
mov dh, byte [esp + 0x12]
shl ecx, 8
shr eax, 0x18
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [ebp + 0x18], eax
mov dword [ecx + 0x30], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [ebp], 0xa
jmp 0x4369a9
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x437719
push 0
push 0
push 0
call fcn.0043a1e0
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [ebp], 0xb
mov ecx, dword [esp + 0x4c]
cmp ecx, 5
je 0x43775c
cmp ecx, 6
je 0x43775c
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x436a0d
mov ecx, ebx
and ecx, 7
shr eax, cl
sub ebx, ecx
mov dword [ebp], 0x1a
mov dword [esp + 0x10], eax
jmp 0x437700
cmp ebx, 3
jae 0x436a35
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 3
mov dword [esp + 0x18], esi
jb 0x436a12
mov ecx, eax
and ecx, 1
shr eax, 1
mov dword [ebp + 4], ecx
mov ecx, eax
and ecx, 3
dec ebx
cmp ecx, 3
ja case.default.0x436a4a
jmp dword [ecx*4 + 0x437920]
shr eax, 2
mov dword [ebp], 0xd
mov dword [esp + 0x10], eax
sub ebx, 2
jmp 0x437700
cmp dword [esp + 0x4c], 6
mov dword [ebp + 0x4c], 0x4431f8
mov dword [ebp + 0x54], 9
mov dword [ebp + 0x50], 0x4439f8
mov dword [ebp + 0x58], 5
mov dword [ebp], 0x13
jne case.default.0x436a4a
shr eax, 2
sub ebx, 2
jmp 0x43775c
shr eax, 2
mov dword [ebp], 0x10
mov dword [esp + 0x10], eax
sub ebx, 2
jmp 0x437700
mov edx, dword [esp + 0x48]
mov dword [edx + 0x18], str.invalid_block_type
mov dword [ebp], 0x1d
shr eax, 2
mov dword [esp + 0x10], eax
sub ebx, 2
jmp 0x437700
mov ecx, ebx
and ecx, 7
shr eax, cl
sub ebx, ecx
cmp ebx, 0x20
mov dword [esp + 0x10], eax
jae 0x436b0c
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x436ae5
mov ecx, eax
not eax
and ecx, 0xffff
shr eax, 0x10
cmp ecx, eax
je 0x436b2d
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x4376f9
mov dword [ebp + 0x40], ecx
mov ecx, dword [esp + 0x4c]
xor eax, eax
xor ebx, ebx
cmp ecx, 6
mov dword [esp + 0x10], eax
mov dword [ebp], 0xe
je 0x43775c
mov dword [ebp], 0xf
mov ecx, dword [ebp + 0x40]
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x437263
cmp ecx, edi
jbe 0x436b6c
mov ecx, edi
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
cmp ecx, edx
jbe 0x436b7a
mov ecx, edx
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x43775c
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
sub edx, ecx
add eax, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x40]
sub esi, ecx
add edx, ecx
sub eax, ecx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [ebp + 0x40], eax
jmp 0x437700
cmp ebx, 0xe
jae 0x436c03
lea esp, [esp]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0xe
mov dword [esp + 0x18], esi
jb 0x436be0
mov ecx, eax
and ecx, 0x1f
add ecx, 0x101
shr eax, 5
mov edx, eax
mov dword [ebp + 0x60], ecx
shr eax, 5
mov ecx, eax
and ecx, 0xf
add ecx, 4
and edx, 0x1f
mov dword [ebp + 0x5c], ecx
mov ecx, dword [ebp + 0x60]
inc edx
shr eax, 4
sub ebx, 0xe
cmp ecx, 0x11e
mov dword [ebp + 0x64], edx
mov dword [esp + 0x10], eax
ja 0x436d33
mov ecx, edx
cmp ecx, 0x1e
ja 0x436d33
mov dword [ebp + 0x68], 0
mov dword [ebp], 0x11
mov ecx, dword [ebp + 0x68]
cmp ecx, dword [ebp + 0x5c]
jae 0x436cc0
cmp ebx, 3
jae 0x436c93
lea ebx, [ebx]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 3
mov dword [esp + 0x18], esi
jb 0x436c70
mov edx, dword [ebp + 0x68]
movzx edx, word [edx*2 + 0x443a78]
xor ecx, ecx
mov cl, al
shr eax, 3
sub ebx, 3
mov dword [esp + 0x10], eax
and ecx, 7
mov word [ebp + edx*2 + 0x70], cx
mov ecx, dword [ebp + 0x68]
inc ecx
mov dword [ebp + 0x68], ecx
cmp ecx, dword [ebp + 0x5c]
jb 0x436c65
mov ecx, dword [ebp + 0x68]
mov eax, 0x13
cmp ecx, eax
jae 0x436ceb
xor ecx, ecx
mov edi, edi
mov edx, dword [ebp + 0x68]
movzx edx, word [edx*2 + 0x443a78]
mov word [ebp + edx*2 + 0x70], cx
mov edx, dword [ebp + 0x68]
inc edx
cmp edx, eax
mov dword [ebp + 0x68], edx
jb 0x436cd0
lea eax, [ebp + 0x530]
lea ecx, [ebp + 0x6c]
mov dword [ecx], eax
mov dword [ebp + 0x4c], eax
lea edx, [ebp + 0x2f0]
push edx
lea eax, [ebp + 0x54]
push eax
push ecx
mov dword [eax], 7
push 0x13
lea eax, [ebp + 0x70]
push eax
push 0
call fcn.00439d20
add esp, 0x18
test eax, eax
mov dword [esp + 0x34], eax
je 0x436d43
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x4376f9
mov edx, dword [esp + 0x48]
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4376f9
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x68], 0
mov dword [ebp], 0x12
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
add edx, ecx
cmp dword [ebp + 0x68], edx
jae 0x436f77
mov ecx, dword [ebp + 0x54]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x4c]
dec edx
and edx, eax
mov ecx, dword [ecx + edx*4]
movzx edx, ch
cmp edx, ebx
mov dword [esp + 0x3c], ecx
jbe 0x436dc0
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp + 0x54]
dec edi
add ebx, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x4c]
inc esi
mov dword [esp + 0x14], edi
dec edx
and edx, eax
mov ecx, dword [ecx + edx*4]
movzx edx, ch
cmp edx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], ecx
ja 0x436d84
mov edx, dword [esp + 0x3c]
shr edx, 0x10
cmp dx, 0x10
jae 0x436e1f
movzx ecx, ch
cmp ebx, ecx
mov dword [esp + 0x1c], ecx
jae 0x436dfe
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edi
add ebx, 8
add eax, edx
inc esi
cmp ebx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x436dd8
mov dx, word [esp + 0x3e]
shr eax, cl
sub ebx, ecx
mov ecx, dword [ebp + 0x68]
mov word [ebp + ecx*2 + 0x70], dx
mov ecx, dword [ebp + 0x68]
inc ecx
mov dword [esp + 0x10], eax
mov dword [ebp + 0x68], ecx
jmp 0x436f66
jne 0x436e88
movzx ecx, ch
lea edx, [ecx + 2]
cmp ebx, edx
mov dword [esp + 0x1c], ecx
jae 0x436e59
nop
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edi
add ebx, 8
add eax, edx
inc esi
lea edx, [ecx + 2]
cmp ebx, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x436e30
shr eax, cl
sub ebx, ecx
mov ecx, dword [ebp + 0x68]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x436f9b
movzx ecx, word [ebp + ecx*2 + 0x6e]
mov dword [esp + 0x2c], ecx
mov ecx, eax
and ecx, 3
add ecx, 3
shr eax, 2
sub ebx, 2
jmp 0x436f2f
cmp dx, 0x11
movzx edx, ch
mov dword [esp + 0x1c], edx
jne 0x436edf
lea ecx, [edx + 3]
cmp ebx, ecx
jae 0x436ec9
lea esp, [esp]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
lea ecx, [edx + 3]
cmp ebx, ecx
mov dword [esp + 0x18], esi
jb 0x436ea0
mov ecx, edx
shr eax, cl
mov edi, 0xfffffffd
mov ecx, eax
and ecx, 7
add ecx, 3
shr eax, 3
jmp 0x436f23
lea ecx, [edx + 7]
cmp ebx, ecx
jae 0x436f0f
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
lea ecx, [edx + 7]
cmp ebx, ecx
mov dword [esp + 0x18], esi
jb 0x436ee6
mov ecx, edx
shr eax, cl
mov edi, 0xfffffff9
mov ecx, eax
and ecx, 0x7f
add ecx, 0xb
shr eax, 7
sub edi, edx
mov dword [esp + 0x2c], 0
add ebx, edi
mov edi, dword [ebp + 0x64]
mov edx, dword [ebp + 0x68]
add edi, dword [ebp + 0x60]
add edx, ecx
cmp edx, edi
mov dword [esp + 0x10], eax
ja 0x436fab
test ecx, ecx
je 0x436f62
mov edx, dword [esp + 0x2c]
lea ebx, [ebx]
mov edi, dword [ebp + 0x68]
mov word [ebp + edi*2 + 0x70], dx
mov edi, dword [ebp + 0x68]
inc edi
dec ecx
mov dword [ebp + 0x68], edi
jne 0x436f50
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x64]
add ecx, edx
cmp dword [ebp + 0x68], ecx
jb 0x436d66
cmp dword [ebp], 0x1d
je 0x437700
cmp word [ebp + 0x270], 0
jne 0x436fbf
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4376f9
mov edx, dword [esp + 0x48]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4376f9
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x4376f9
lea eax, [ebp + 0x530]
lea ecx, [ebp + 0x6c]
mov dword [ecx], eax
mov dword [ebp + 0x4c], eax
lea edx, [ebp + 0x2f0]
push edx
mov edx, dword [ebp + 0x60]
lea eax, [ebp + 0x54]
push eax
push ecx
mov dword [eax], 9
push edx
lea eax, [ebp + 0x70]
push eax
push 1
call fcn.00439d20
add esp, 0x18
test eax, eax
mov dword [esp + 0x34], eax
je 0x437009
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
jmp 0x4376f9
mov edx, dword [ebp + 0x6c]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x50], edx
lea edx, [ebp + 0x2f0]
push edx
lea eax, [ebp + 0x58]
push eax
push ecx
mov ecx, dword [ebp + 0x60]
mov dword [eax], 6
mov eax, dword [ebp + 0x64]
push eax
lea edx, [ebp + ecx*2 + 0x70]
push edx
push 2
call fcn.00439d20
add esp, 0x18
test eax, eax
mov dword [esp + 0x34], eax
je 0x437052
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x4376f9
cmp dword [esp + 0x4c], 6
mov eax, dword [esp + 0x10]
mov dword [ebp], 0x13
je 0x43775c
mov dword [ebp], 0x14
cmp edi, 6
jb 0x4370f5
cmp dword [esp + 0x20], 0x102
jb 0x4370f5
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [eax], esi
mov dword [eax + 4], edi
push eax
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x3c], ebx
call fcn.004398a0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
add esp, 8
cmp eax, 0xb
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
jne 0x437700
mov dword [ebp + 0x1bc4], 0xffffffff
jmp 0x437700
mov ecx, dword [ebp + 0x54]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x1bc4], 0
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebx
mov dword [esp + 0x3c], edx
jbe 0x43715c
lea ecx, [ecx]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp + 0x54]
dec edi
add ebx, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x4c]
inc esi
mov dword [esp + 0x14], edi
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], edx
ja 0x437120
test dl, dl
je 0x437226
test dl, 0xf0
jne 0x437226
movzx ecx, dh
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, dl
mov dword [esp + 0x2c], edx
add ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edx
and edx, eax
shr edx, cl
mov ecx, dword [esp + 0x3c]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
mov dword [esp + 0x3c], edx
movzx ecx, cl
movzx edx, dh
add edx, ecx
cmp edx, ebx
mov dword [esp + 0x1c], ecx
jbe 0x437218
lea ebx, [ebx]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
xor ecx, ecx
mov cl, byte [esp + 0x2c]
dec edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
add ebx, 8
mov dword [esp + 0x14], edi
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
dec edx
and edx, eax
shr edx, cl
movzx ecx, word [esp + 0x2e]
add edx, ecx
mov ecx, dword [ebp + 0x4c]
mov ecx, dword [ecx + edx*4]
movzx edx, ch
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebx
ja 0x4371c0
mov edx, dword [esp + 0x3c]
shr eax, cl
sub ebx, ecx
mov dword [ebp + 0x1bc4], ecx
movzx ecx, dh
shr eax, cl
movzx ecx, dh
add dword [ebp + 0x1bc4], ecx
sub ebx, ecx
mov ecx, dword [esp + 0x3c]
shr ecx, 0x10
test dl, dl
mov dword [esp + 0x10], eax
mov dword [ebp + 0x40], ecx
jne 0x437254
mov dword [ebp], 0x19
jmp 0x437700
test dl, 0x20
je 0x43726f
mov dword [ebp + 0x1bc4], 0xffffffff
mov dword [ebp], 0xb
jmp 0x437700
test dl, 0x40
je 0x437284
mov edx, dword [esp + 0x48]
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4376f9
and edx, 0xf
mov dword [ebp + 0x48], edx
mov dword [ebp], 0x15
mov ecx, dword [ebp + 0x48]
test ecx, ecx
je 0x4372ef
cmp ebx, ecx
jae 0x4372c5
lea esp, [esp]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp + 0x48]
dec edi
add ebx, 8
add eax, edx
inc esi
cmp ebx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x4372a0
mov ecx, dword [ebp + 0x48]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x40]
dec edx
and edx, eax
add ecx, edx
mov edx, dword [ebp + 0x1bc4]
mov dword [ebp + 0x40], ecx
mov ecx, dword [ebp + 0x48]
shr eax, cl
sub ebx, ecx
add edx, ecx
mov dword [ebp + 0x1bc4], edx
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x1bc8], ecx
mov dword [ebp], 0x16
mov ecx, dword [ebp + 0x58]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x50]
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebx
mov dword [esp + 0x3c], edx
jbe 0x43735c
lea ecx, [ecx]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp + 0x58]
dec edi
add ebx, 8
add eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x50]
inc esi
mov dword [esp + 0x14], edi
dec edx
and edx, eax
mov edx, dword [ecx + edx*4]
movzx ecx, dh
cmp ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], edx
ja 0x437320
test dl, 0xf0
jne 0x437420
movzx ecx, dh
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, dl
mov dword [esp + 0x2c], edx
add ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
dec edx
and edx, eax
shr edx, cl
mov ecx, dword [esp + 0x3c]
shr ecx, 0x10
add edx, ecx
mov ecx, dword [ebp + 0x50]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
mov dword [esp + 0x3c], edx
movzx ecx, cl
movzx edx, dh
add edx, ecx
cmp edx, ebx
mov dword [esp + 0x1c], ecx
jbe 0x43740a
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
xor ecx, ecx
mov cl, byte [esp + 0x2c]
dec edi
add eax, edx
mov edx, dword [esp + 0x1c]
inc esi
add ebx, 8
mov dword [esp + 0x14], edi
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
dec edx
and edx, eax
shr edx, cl
movzx ecx, word [esp + 0x2e]
add edx, ecx
mov ecx, dword [ebp + 0x50]
mov ecx, dword [ecx + edx*4]
movzx edx, ch
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebx
ja 0x4373b2
mov edx, dword [ebp + 0x1bc4]
shr eax, cl
sub ebx, ecx
add edx, ecx
mov dword [ebp + 0x1bc4], edx
mov edx, dword [esp + 0x3c]
movzx ecx, dh
shr eax, cl
movzx ecx, dh
add dword [ebp + 0x1bc4], ecx
sub ebx, ecx
test dl, 0x40
mov dword [esp + 0x10], eax
je 0x437449
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x4376f9
mov ecx, dword [esp + 0x3c]
shr ecx, 0x10
and edx, 0xf
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], edx
mov dword [ebp], 0x17
mov ecx, dword [ebp + 0x48]
test ecx, ecx
je 0x4374c3
cmp ebx, ecx
jae 0x437495
jmp 0x437470
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
mov ecx, dword [ebp + 0x48]
dec edi
add ebx, 8
add eax, edx
inc esi
cmp ebx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jb 0x437470
mov ecx, dword [ebp + 0x48]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x44]
dec edx
and edx, eax
add ecx, edx
mov edx, dword [ebp + 0x1bc4]
mov dword [ebp + 0x44], ecx
mov ecx, dword [ebp + 0x48]
shr eax, cl
sub ebx, ecx
add edx, ecx
mov dword [ebp + 0x1bc4], edx
mov dword [esp + 0x10], eax
mov dword [ebp], 0x18
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43775c
mov eax, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [ebp + 0x44]
cmp ecx, eax
jbe 0x437532
sub ecx, eax
cmp ecx, dword [ebp + 0x2c]
mov dword [esp + 0x1c], ecx
jbe 0x437508
mov eax, dword [ebp + 0x1bc0]
test eax, eax
je 0x437508
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x4376f9
mov edx, dword [ebp + 0x30]
cmp ecx, edx
mov eax, dword [ebp + 0x34]
jbe 0x43751f
sub ecx, edx
add eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], ecx
sub eax, ecx
jmp 0x437523
sub eax, ecx
add eax, edx
mov edx, dword [ebp + 0x40]
cmp ecx, edx
mov dword [esp + 0x2c], edx
jbe 0x437543
mov ecx, edx
jmp 0x43753f
mov eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
cmp ecx, edx
jbe 0x437551
mov ecx, edx
mov dword [esp + 0x1c], ecx
sub edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x40], edx
mov dl, byte [eax]
mov byte [ecx], dl
mov edx, dword [esp + 0x1c]
inc ecx
inc eax
dec edx
mov dword [esp + 0x1c], edx
jne 0x437564
mov eax, dword [ebp + 0x40]
test eax, eax
mov dword [esp + 0x28], ecx
jne 0x437700
mov dword [ebp], 0x14
jmp 0x437700
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43775c
mov eax, dword [esp + 0x28]
mov cl, byte [ebp + 0x40]
mov byte [eax], cl
inc eax
mov dword [esp + 0x28], eax
dec dword [esp + 0x20]
mov dword [ebp], 0x14
jmp 0x437700
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4376a0
cmp ebx, 0x20
jae 0x4375f7
lea ebx, [ebx]
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4375d0
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
add dword [edx + 0x14], ecx
mov edx, dword [ebp + 0x1c]
add edx, ecx
test ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [ebp + 0x1c], edx
je 0x43764e
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x30]
push eax
je 0x437634
sub ecx, eax
push ecx
push edx
call fcn.00435e60
jmp 0x43763d
sub ecx, eax
push ecx
push edx
call fcn.0043a1e0
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
jne 0x437686
mov ecx, eax
mov edx, eax
and ecx, 0xff00
shl edx, 0x10
add ecx, edx
xor edx, edx
mov dh, byte [esp + 0x12]
shl ecx, 8
mov dword [esp + 0x2c], ecx
shr eax, 0x18
add ecx, edx
add ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, ecx
cmp eax, dword [ebp + 0x18]
je 0x437698
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x4376f9
xor eax, eax
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [ebp], 0x1b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x437743
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x437743
cmp ebx, 0x20
jae 0x4376e9
test edi, edi
je 0x43775c
movzx edx, byte [esi]
mov ecx, ebx
shl edx, cl
dec edi
add ebx, 8
mov dword [esp + 0x14], edi
add eax, edx
inc esi
cmp ebx, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
jb 0x4376c2
cmp eax, dword [ebp + 0x1c]
je 0x43773f
mov eax, dword [esp + 0x48]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [ebp], 0x1d
mov ecx, dword [ebp]
cmp ecx, 0x1e
jbe 0x4362c0
pop edi
pop esi
pop ebx
mov eax, 0xfffffffe
pop ebp
add esp, 0x34
ret
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], edi
pop edi
mov dword [ecx], esi
mov dword [ecx + 0x10], edx
pop esi
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x38], eax
pop ebx
mov eax, 2
pop ebp
add esp, 0x34
ret
xor eax, eax
xor ebx, ebx
mov dword [ebp], 0x1c
mov dword [esp + 0x34], 1
jmp 0x43775c
mov dword [esp + 0x34], 0xfffffffd
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x10], edx
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x28]
test eax, eax
mov dword [ebp + 0x3c], ebx
jne 0x43778f
cmp dword [ebp], 0x1a
jge 0x4377b8
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx + 0x10]
je 0x4377b8
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
push edx
call fcn.00436110
add esp, 4
test eax, eax
je 0x4377b8
mov dword [ebp], 0x1e
pop edi
pop esi
pop ebx
mov eax, 0xfffffffc
pop ebp
add esp, 0x34
ret
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x10]
mov edi, dword [esp + 0x30]
mov ebx, dword [esi + 8]
sub eax, edx
mov edx, dword [esi + 0x14]
sub edi, ecx
add ebx, eax
add edx, edi
mov dword [esi + 8], ebx
mov dword [esi + 0x14], edx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
add ecx, edi
test eax, eax
mov dword [ebp + 0x1c], ecx
je 0x437826
test edi, edi
je 0x437826
mov eax, dword [ebp + 0x10]
test eax, eax
push edi
je 0x43780e
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x18]
sub eax, edi
push eax
push ecx
call fcn.00435e60
jmp 0x43781d
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 0x18]
sub edx, edi
push edx
push eax
call fcn.0043a1e0
mov dword [ebp + 0x18], eax
add esp, 0xc
mov dword [esi + 0x30], eax
mov eax, dword [ebp]
cmp eax, 0x13
je 0x437837
cmp eax, 0xe
je 0x437837
xor ecx, ecx
jmp 0x43783c
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp + 4]
neg edx
sbb edx, edx
xor ebx, ebx
and edx, 0x40
cmp eax, 0xb
mov eax, dword [esp + 0x38]
setne bl
add edx, ecx
mov ecx, dword [ebp + 0x3c]
dec ebx
and ebx, 0x80
add ebx, edx
add ebx, ecx
test eax, eax
mov dword [esi + 0x2c], ebx
jne 0x43786d
test edi, edi
je 0x437874
cmp dword [esp + 0x4c], 4
jne 0x43788d
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4362b8
pop edi
pop esi
pop ebx
mov eax, 0xfffffffb
pop ebp
add esp, 0x34
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x34
ret
mov eax, 0xfffffffe
pop ebp
add esp, 0x34
ret