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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x3c
push ebx
push esi
push edi
push edx
call fcn.0a59b539
pop ecx
test eax, eax
jne case.0xa599e94.31
cmp dword [edx + 0xc], eax
je case.0xa599e94.31
cmp dword [edx], eax
jne 0xa599e3a
cmp dword [edx + 4], eax
jne case.0xa599e94.31
mov esi, dword [edx + 0x1c]
mov ecx, 0x3f40
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 4]
cmp eax, 0x3f3f
jne 0xa599e54
mov dword [esi + 4], ecx
mov eax, ecx
mov ecx, dword [edx + 0xc]
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [ebp - 0x10], ebx
add eax, 0xffffc0cc
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], ecx
jmp 0xa59b129
mov ecx, edi
mov dword [ebp - 0x34], edi
jmp dword [eax*4 + 0xa59b291]
cmp dword [esi + 0xc], 0
jne 0xa599ead
mov dword [esi + 4], 0x3f40
jmp 0xa59b121
push 0x10
pop eax
cmp edi, eax
jae 0xa599ee6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0x10], ebx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0xa599eb7
test byte [esi + 0xc], 2
je 0xa599f45
cmp ebx, 0x8b1f
jne 0xa599f45
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0xa599f02
mov dword [esi + 0x28], 0xf
push eax
push eax
push eax
call fcn.0a59ba6d
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], bl
push 2
shr ebx, 8
push eax
mov byte [ebp - 0x1b], bl
push dword [esi + 0x1c]
call fcn.0a59ba6d
add esp, 0x18
mov dword [esi + 0x1c], eax
xor ecx, ecx
mov dword [esi + 4], 0x3f35
mov ebx, ecx
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
jmp 0xa59b121
mov eax, dword [esi + 0x24]
test eax, eax
je 0xa599f50
or dword [eax + 0x30], 0xffffffff
test byte [esi + 0xc], 1
je 0xa59a007
movzx ecx, bl
mov eax, ebx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
jne 0xa59a004
mov eax, ebx
and al, 0xf
cmp al, 8
je 0xa599f8d
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xa4b4010
jmp 0xa59b11a
mov eax, dword [esi + 0x28]
sub edi, 4
shr ebx, 4
mov ecx, ebx
mov dword [ebp - 0x10], ebx
and ecx, 0xf
mov dword [ebp - 0x14], edi
add ecx, 8
test eax, eax
jne 0xa599fad
mov dword [esi + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0xa599ff5
cmp ecx, eax
ja 0xa599ff5
xor edi, edi
xor eax, eax
push edi
inc eax
mov dword [esi + 0x14], edi
shl eax, cl
push edi
push edi
mov dword [esi + 0x18], eax
call fcn.0a59b823
mov edx, dword [ebp + 8]
add esp, 0xc
shr ebx, 8
not ebx
mov dword [esi + 0x1c], eax
and ebx, 2
or ebx, 0x3f3d
mov dword [edx + 0x30], eax
mov dword [esi + 4], ebx
mov ebx, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
jmp 0xa59b121
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xa4b402c
jmp 0xa59b11a
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xa4b3ff8
jmp 0xa59b11a
push 0x10
pop eax
cmp edi, eax
jae 0xa59a04c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0x10], ebx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0xa59a01d
mov dword [esi + 0x14], ebx
cmp bl, 8
jne 0xa599f81
test ebx, 0xe000
je 0xa59a06c
mov dword [edx + 0x18], 0xa4b4040
jmp 0xa59b11a
mov edx, dword [esi + 0x24]
mov ecx, ebx
shr ecx, 8
test edx, edx
je 0xa59a07f
mov eax, ecx
and eax, 1
mov dword [edx], eax
test dword [esi + 0x14], 0x200
je 0xa59a0a8
test byte [esi + 0xc], 4
je 0xa59a0a8
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], bl
push eax
mov byte [ebp - 0x1b], cl
push dword [esi + 0x1c]
call fcn.0a59ba6d
add esp, 0xc
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov edx, dword [ebp - 8]
mov ebx, eax
mov edi, eax
mov dword [esi + 4], 0x3f36
test ecx, ecx
je 0xa59b176
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 0xc]
add ebx, eax
inc edx
cmp edi, 0x20
mov dword [ebp - 8], edx
jb 0xa59a0bb
mov eax, dword [esi + 0x24]
test eax, eax
je 0xa59a0e9
mov dword [eax + 4], ebx
test dword [esi + 0x14], 0x200
je 0xa59a128
test byte [esi + 0xc], 4
je 0xa59a128
mov eax, ebx
mov byte [ebp - 0x1c], bl
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x1c]
push 4
shr ebx, 0x18
push eax
mov byte [ebp - 0x19], bl
push dword [esi + 0x1c]
call fcn.0a59ba6d
mov edx, dword [ebp - 8]
add esp, 0xc
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 4], 0x3f37
mov ebx, eax
mov edi, eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
inc edx
push 0x10
pop eax
cmp edi, eax
mov dword [ebp - 8], edx
jb 0xa59a135
mov edx, dword [esi + 0x24]
mov ecx, ebx
shr ecx, 8
test edx, edx
je 0xa59a173
movzx eax, bl
mov dword [edx + 8], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 0xc], ecx
test dword [esi + 0x14], 0x200
je 0xa59a19c
test byte [esi + 0xc], 4
je 0xa59a19c
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], bl
push eax
mov byte [ebp - 0x1b], cl
push dword [esi + 0x1c]
call fcn.0a59ba6d
add esp, 0xc
mov dword [esi + 0x1c], eax
xor ecx, ecx
mov dword [esi + 4], 0x3f38
mov ebx, ecx
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
jmp 0xa59a1e2
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x34]
cmp edi, 0x20
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x30], ebx
jmp 0xa59a0da
mov eax, dword [ebp - 0xc]
mov edi, ecx
mov edx, dword [ebp - 8]
push 0x10
mov dword [ebp - 0xc], eax
pop eax
mov dword [ebp - 0x30], ebx
cmp ecx, eax
jmp 0xa59a156
xor ecx, ecx
test dword [esi + 0x14], 0x400
je 0xa59a262
push 0x10
pop eax
cmp edi, eax
jae 0xa59a21b
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
inc edx
push 0x10
pop eax
mov dword [ebp - 8], edx
cmp edi, eax
jb 0xa59a1f5
mov eax, dword [esi + 0x24]
mov dword [esi + 0x44], ebx
test eax, eax
je 0xa59a228
mov dword [eax + 0x14], ebx
test dword [esi + 0x14], 0x200
je 0xa59a254
test byte [esi + 0xc], 4
je 0xa59a254
mov byte [ebp - 0x1c], bl
lea eax, [ebp - 0x1c]
push 2
shr ebx, 8
push eax
mov byte [ebp - 0x1b], bl
push dword [esi + 0x1c]
call fcn.0a59ba6d
add esp, 0xc
mov dword [esi + 0x1c], eax
xor eax, eax
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
jmp 0xa59a26c
mov eax, dword [esi + 0x24]
test eax, eax
je 0xa59a26c
mov dword [eax + 0x10], ecx
mov dword [esi + 4], 0x3f39
test dword [esi + 0x14], 0x400
je 0xa59a321
mov edx, dword [esi + 0x44]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
cmovbe ecx, edx
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0xa59a316
mov eax, dword [esi + 0x24]
test eax, eax
je 0xa59a2df
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
je 0xa59a2df
mov eax, dword [eax + 0x14]
sub eax, edx
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x34], eax
mov edx, dword [edx + 0x18]
cmp eax, edx
jae 0xa59a2df
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x34]
jbe 0xa59a2c9
sub edx, eax
jmp 0xa59a2cb
mov edx, ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x30]
push edx
push ecx
push eax
call fcn.0a612e90
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
test dword [esi + 0x14], 0x200
je 0xa59a300
test byte [esi + 0xc], 4
je 0xa59a300
push ecx
push dword [ebp - 8]
push dword [esi + 0x1c]
call fcn.0a59ba6d
add esp, 0xc
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
sub dword [esi + 0x44], eax
mov edx, dword [esi + 0x44]
mov dword [ebp - 0xc], ecx
jmp 0xa59a319
mov ecx, dword [ebp - 0xc]
test edx, edx
jne 0xa59b176
xor edx, edx
mov dword [esi + 4], 0x3f3a
mov dword [esi + 0x44], edx
jmp 0xa59a331
xor edx, edx
test dword [esi + 0x14], 0x800
je 0xa59a3c7
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, edx
mov edi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0xa59a37b
cmp dword [ecx + 0x1c], 0
je 0xa59a378
mov edx, dword [esi + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0xa59a378
mov ecx, dword [ecx + 0x1c]
mov bl, byte [ebp - 1]
mov byte [ecx + edx], bl
inc dword [esi + 0x44]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0xa59a385
cmp eax, edi
jb 0xa59a350
test dword [esi + 0x14], 0x200
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
je 0xa59a3b0
test byte [esi + 0xc], 4
je 0xa59a3b0
push eax
push edx
push dword [esi + 0x1c]
call fcn.0a59ba6d
mov dword [esi + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
jne 0xa59b176
jmp 0xa59a3d1
mov eax, dword [esi + 0x24]
test eax, eax
je 0xa59a3d1
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [esi + 4], 0x3f3b
mov dword [esi + 0x44], edx
jmp 0xa59a3e1
xor edx, edx
test dword [esi + 0x14], 0x1000
je 0xa59a477
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, edx
mov edi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0xa59a42b
cmp dword [ecx + 0x24], 0
je 0xa59a428
mov edx, dword [esi + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0xa59a428
mov ecx, dword [ecx + 0x24]
mov bl, byte [ebp - 1]
mov byte [ecx + edx], bl
inc dword [esi + 0x44]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0xa59a435
cmp eax, edi
jb 0xa59a400
test dword [esi + 0x14], 0x200
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
je 0xa59a460
test byte [esi + 0xc], 4
je 0xa59a460
push eax
push edx
push dword [esi + 0x1c]
call fcn.0a59ba6d
mov dword [esi + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
jne 0xa59b176
jmp 0xa59a481
mov eax, dword [esi + 0x24]
test eax, eax
je 0xa59a481
mov dword [eax + 0x24], edx
mov edx, dword [ebp + 8]
mov dword [esi + 4], 0x3f3c
mov eax, dword [esi + 0x14]
test eax, 0x200
je 0xa59a4f9
push 0x10
pop eax
cmp edi, eax
jae 0xa59a4ce
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0x10], ebx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0xa59a49f
test byte [esi + 0xc], 4
je 0xa59a4e8
movzx eax, word [esi + 0x1c]
cmp ebx, eax
je 0xa59a4e8
mov dword [edx + 0x18], 0xa4b405c
jmp 0xa59b11a
mov eax, dword [esi + 0x14]
xor edx, edx
mov ebx, edx
mov edi, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
jmp 0xa59a4fb
xor edx, edx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0xa59a515
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.0a59ba6d
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [esi + 4], 0x3f3f
jmp 0xa59b121
cmp edi, 0x20
jae 0xa59a564
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0xa59a53d
bswap ebx
mov dword [esi + 0x1c], ebx
xor eax, eax
mov dword [edx + 0x30], ebx
mov edi, eax
mov ebx, eax
mov dword [esi + 4], 0x3f3e
jmp 0xa59a57d
xor eax, eax
cmp dword [esi + 0x10], eax
je 0xa59b13c
push eax
push eax
push eax
call fcn.0a59b823
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [esi + 4], 0x3f3f
cmp dword [ebp + 0xc], 5
je 0xa59b173
cmp dword [ebp + 0xc], 6
je 0xa59b173
xor ecx, ecx
cmp dword [esi + 8], ecx
je 0xa59a5d7
mov ecx, edi
mov dword [esi + 4], 0x3f4e
and ecx, 7
shr ebx, cl
sub edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
jmp 0xa59b121
cmp edi, 3
jae 0xa59a608
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, 3
jb 0xa59a5df
xor ecx, ecx
mov eax, ebx
shr ebx, 1
and eax, 1
mov dword [esi + 8], eax
mov eax, ebx
and eax, 3
sub eax, ecx
je 0xa59a677
sub eax, 1
je 0xa59a643
sub eax, 1
je 0xa59a63a
sub eax, 1
jne 0xa59a67e
mov dword [edx + 0x18], 0xa4b4070
mov dword [esi + 4], 0x3f51
jmp 0xa59a67e
mov dword [esi + 4], 0x3f44
jmp 0xa59a67e
cmp dword [ebp + 0xc], 6
mov dword [esi + 0x50], 0xa4b3750
mov dword [esi + 0x58], 9
mov dword [esi + 0x54], 0xa4b3f50
mov dword [esi + 0x5c], 5
mov dword [esi + 4], 0x3f47
jne 0xa59a67e
shr ebx, 2
sub edi, 3
jmp 0xa59b173
mov dword [esi + 4], 0x3f41
shr ebx, 2
sub edi, 3
jmp 0xa599fea
mov ecx, edi
and ecx, 7
sub edi, ecx
shr ebx, cl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
cmp edi, 0x20
jae 0xa59a6cd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0xa59a6a0
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0xa59a6e7
mov dword [edx + 0x18], 0xa4b4084
jmp 0xa59b11a
xor eax, eax
mov dword [esi + 0x44], ecx
cmp dword [ebp + 0xc], 6
mov ebx, eax
mov edi, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [esi + 4], 0x3f42
je 0xa59b173
mov dword [esi + 4], 0x3f43
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0xa59a529
mov eax, dword [ebp - 0xc]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0xa59b173
push ecx
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.0a612e90
mov eax, dword [ebp - 0x34]
add esp, 0xc
sub dword [ebp - 0xc], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x20], eax
sub dword [esi + 0x44], eax
jmp 0xa599f3d
cmp edi, 0xe
jae 0xa59a789
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0xa59a762
mov eax, ebx
sub edi, 0xe
shr ebx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x14], edi
mov eax, ebx
add ecx, 0x101
and eax, 0x1f
shr ebx, 5
inc eax
mov dword [esi + 0x64], ecx
mov dword [ebp - 0x34], eax
mov dword [esi + 0x68], eax
mov eax, ebx
and eax, 0xf
shr ebx, 4
add eax, 4
mov dword [ebp - 0x10], ebx
mov dword [esi + 0x60], eax
cmp ecx, 0x11e
ja 0xa59a7dd
cmp dword [ebp - 0x34], 0x1e
ja 0xa59a7dd
and dword [esi + 0x6c], 0
mov dword [esi + 4], 0x3f45
jmp case.0xa599e94.17
mov dword [edx + 0x18], 0xa4b40a4
jmp 0xa59b11a
cmp edi, 3
jae 0xa59a815
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [edx]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
inc edx
mov dword [ebp - 8], edx
cmp edi, 3
jb 0xa59a7f1
mov eax, dword [esi + 0x6c]
mov ecx, ebx
and ecx, 7
shr ebx, 3
mov dword [ebp - 0x10], ebx
movzx eax, word [eax*2 + 0xa4b3fd0]
mov word [esi + eax*2 + 0x74], cx
inc dword [esi + 0x6c]
sub edi, 3
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x60]
jb 0xa59a7e9
jmp 0xa59a859
movzx eax, word [eax*2 + 0xa4b3fd0]
xor ecx, ecx
mov word [esi + eax*2 + 0x74], cx
mov eax, dword [esi + 0x6c]
inc eax
mov dword [esi + 0x6c], eax
cmp eax, 0x13
jb 0xa59a843
lea eax, [esi + 0x534]
lea ecx, [esi + 0x70]
mov dword [esi + 0x50], eax
mov dword [ecx], eax
lea edx, [esi + 0x58]
lea eax, [esi + 0x2f4]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea eax, [esi + 0x74]
push eax
push 0
call fcn.0a59bd65
mov edx, dword [ebp + 8]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0xa59a8a6
mov dword [edx + 0x18], 0xa4b40c8
jmp 0xa59b11a
and dword [esi + 0x6c], 0
mov dword [esi + 4], 0x3f46
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
cmp dword [esi + 0x6c], eax
jae 0xa59aad0
mov ecx, dword [esi + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x30], eax
jmp 0xa59a8f2
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0x30]
add edi, 8
mov ecx, dword [esi + 0x50]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, edi
ja 0xa59a8ce
mov ecx, eax
shr ecx, 0x10
movzx edx, cx
mov dword [ebp - 0x2c], edx
push 0x10
pop edx
cmp cx, dx
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
jae 0xa59a948
shr eax, 8
movzx ecx, al
mov eax, dword [esi + 0x6c]
sub edi, ecx
shr ebx, cl
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov word [esi + eax*2 + 0x74], cx
inc dword [esi + 0x6c]
mov ecx, dword [esi + 0x6c]
mov dword [ebp - 0x14], edi
jmp 0xa59aab2
push 0x10
pop ecx
cmp word [ebp - 0x2c], cx
jne 0xa59a9c3
shr eax, 8
movzx eax, al
mov dword [ebp - 0x30], eax
lea ecx, [eax + 2]
mov dword [ebp - 0x34], ecx
cmp edi, ecx
jae 0xa59a991
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x34]
jb 0xa59a967
mov eax, dword [ebp - 0x30]
mov ecx, eax
sub edi, eax
mov eax, dword [esi + 0x6c]
shr ebx, cl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
test eax, eax
je 0xa59aac2
movzx eax, word [esi + eax*2 + 0x72]
mov ecx, ebx
and ecx, 3
shr ebx, 2
add ecx, 3
mov dword [ebp - 0x30], eax
sub edi, 2
jmp 0xa59aa73
cmp word [ebp - 0x32], 0x11
movzx eax, ah
jne 0xa59aa1e
lea ecx, [eax + 3]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
cmp edi, ecx
jae 0xa59aa07
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x30]
jb 0xa59a9dd
mov eax, dword [ebp - 0x34]
mov ecx, eax
shr ebx, cl
mov ecx, ebx
shr ebx, 3
and ecx, 7
push 0xfffffffffffffffd
pop eax
add ecx, 3
sub eax, dword [ebp - 0x34]
jmp 0xa59aa6d
lea ecx, [eax + 7]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
cmp edi, ecx
jae 0xa59aa58
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x30]
jb 0xa59aa2e
mov eax, dword [ebp - 0x34]
mov ecx, eax
shr ebx, cl
mov ecx, ebx
shr ebx, 7
and ecx, 0x7f
push 0xfffffffffffffff9
pop eax
add ecx, 0xb
sub eax, dword [ebp - 0x34]
add edi, eax
and dword [ebp - 0x30], 0
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x2c], ecx
add ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
cmp ecx, eax
ja 0xa59aac2
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov word [esi + eax*2 + 0x74], dx
mov eax, dword [esi + 0x6c]
lea eax, [eax + 1]
mov dword [esi + 0x6c], eax
sub ecx, 1
jne 0xa59aa97
mov edx, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x64]
cmp ecx, eax
jb 0xa59a8c0
jmp 0xa59aad0
mov dword [edx + 0x18], 0xa4b40e4
mov dword [esi + 4], 0x3f51
cmp dword [esi + 4], 0x3f51
je 0xa59b121
xor eax, eax
cmp word [esi + 0x274], ax
jne 0xa59aaf4
mov dword [edx + 0x18], 0xa4b4100
jmp 0xa59b11a
lea eax, [esi + 0x534]
lea ecx, [esi + 0x70]
mov dword [esi + 0x50], eax
mov dword [ecx], eax
lea edx, [esi + 0x58]
lea eax, [esi + 0x2f4]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [esi + 0x64]
lea eax, [esi + 0x74]
push eax
push 1
call fcn.0a59bd65
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0xa59ab3d
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xa4b4128
jmp 0xa59b11a
lea ecx, [esi + 0x70]
mov eax, dword [ecx]
lea edx, [esi + 0x5c]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x2f4]
push eax
mov eax, dword [esi + 0x64]
push edx
push ecx
push dword [esi + 0x68]
add eax, 0x3a
mov dword [edx], 6
lea eax, [esi + eax*2]
push eax
push 2
call fcn.0a59bd65
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0xa59ab86
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xa4b4144
jmp 0xa59b11a
cmp dword [ebp + 0xc], 6
mov dword [esi + 4], 0x3f47
je 0xa59b173
mov edx, dword [ebp + 8]
mov dword [esi + 4], 0x3f48
mov eax, dword [ebp - 0xc]
cmp eax, 6
jb 0xa59ac18
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x102
jb 0xa59ac18
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [edx + 0xc], esi
mov esi, dword [ebp - 0x38]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [edx], ecx
mov dword [edx + 4], eax
push edx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
call fcn.0a59c12c
cmp dword [esi + 4], 0x3f3f
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
pop ecx
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov eax, dword [edx + 4]
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
jne 0xa59b121
or dword [esi + 0x1bc8], 0xffffffff
jmp 0xa59b121
and dword [esi + 0x1bc8], 0
xor eax, eax
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
shl edx, cl
jmp 0xa59ac4c
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 8]
add edi, 8
mov ecx, dword [esi + 0x50]
lea eax, [edx - 1]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0xa59ac2b
test al, al
je 0xa59acf7
test al, 0xf0
jne 0xa59acf7
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 0x34], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [ebp - 0x2c], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x50]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x34]
jmp 0xa59acdd
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
movzx eax, byte [eax]
shl eax, cl
mov ecx, edx
add ebx, eax
mov eax, dword [ebp - 0x30]
inc dword [ebp - 8]
and eax, ebx
shr eax, cl
add eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0xa59acaa
mov ecx, edx
mov dword [esi + 0x1bc8], edx
shr ebx, cl
sub edi, edx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc8], ecx
sub edi, ecx
shr ebx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [esi + 0x44], ecx
test al, al
jne 0xa59ad27
mov dword [esi + 4], 0x3f4d
jmp 0xa599f3d
test al, 0x20
je 0xa59ad3e
or dword [esi + 0x1bc8], 0xffffffff
mov dword [esi + 4], 0x3f3f
jmp 0xa599f3d
test al, 0x40
je 0xa59ad51
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0xa4b415c
jmp 0xa59b11a
movzx eax, al
and eax, 0xf
mov dword [esi + 4], 0x3f49
mov dword [esi + 0x4c], eax
mov edx, dword [esi + 0x4c]
test edx, edx
je 0xa59adac
cmp edi, edx
jae 0xa59ad95
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, edx
jb 0xa59ad6f
xor eax, eax
mov ecx, edx
inc eax
sub edi, edx
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x44], eax
add dword [esi + 0x1bc8], edx
mov eax, dword [esi + 0x44]
mov dword [esi + 0x1bcc], eax
mov dword [esi + 4], 0x3f4a
mov ecx, dword [esi + 0x5c]
xor eax, eax
lea edx, [eax + 1]
shl edx, cl
jmp 0xa59ade9
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 8]
add edi, 8
mov ecx, dword [esi + 0x54]
lea eax, [edx - 1]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0xa59adc8
test al, 0xf0
jne 0xa59ae8c
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 0x34], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [ebp - 0x2c], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x54]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x34]
jmp 0xa59ae72
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
movzx eax, byte [eax]
shl eax, cl
mov ecx, edx
add ebx, eax
mov eax, dword [ebp - 0x30]
inc dword [ebp - 8]
and eax, ebx
shr eax, cl
add eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0xa59ae3f
mov ecx, edx
sub edi, edx
shr ebx, cl
add dword [esi + 0x1bc8], edx
mov edx, dword [ebp + 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [esi + 0x1bc8], ecx
sub edi, ecx
shr ebx, cl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
test al, 0x40
je 0xa59aeb7
mov dword [edx + 0x18], 0xa4b4178
jmp 0xa59b11a
mov ecx, eax
mov dword [esi + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0xa59af21
cmp edi, ecx
jae 0xa59af06
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [esi + 0x4c]
add ebx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0xa59aedd
xor eax, eax
sub edi, ecx
inc eax
mov dword [ebp - 0x14], edi
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x48], eax
add dword [esi + 0x1bc8], ecx
mov dword [ebp - 0x10], ebx
mov dword [esi + 4], 0x3f4c
cmp dword [ebp - 0x18], 0
je 0xa59b173
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x48]
cmp eax, ecx
jbe 0xa59af8b
sub eax, ecx
cmp eax, dword [esi + 0x30]
jbe 0xa59af5b
cmp dword [esi + 0x1bc4], 0
je 0xa59af5b
mov dword [edx + 0x18], 0xa4b4190
jmp 0xa59b11a
cmp eax, dword [esi + 0x34]
jbe 0xa59af6d
sub eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x2c]
sub ecx, eax
add ecx, dword [esi + 0x38]
jmp 0xa59af75
mov ecx, dword [esi + 0x38]
sub ecx, eax
add ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x44]
cmp eax, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], edx
cmovbe edx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
jmp 0xa59af96
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x18]
mov esi, edx
cmp dword [ebp - 0x2c], esi
cmovbe edx, dword [ebp - 0x2c]
sub esi, edx
sub eax, edx
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x38]
mov dword [esi + 0x44], eax
mov esi, dword [ebp - 0x20]
sub ecx, esi
mov al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub edx, 1
jne 0xa59afb4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
cmp dword [esi + 0x44], 0
jne 0xa59b121
mov dword [esi + 4], 0x3f48
jmp 0xa59b121
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0xa59b173
mov edx, dword [ebp - 0x20]
mov al, byte [esi + 0x44]
inc dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x18], ecx
mov byte [edx], al
mov dword [esi + 4], 0x3f48
jmp 0xa599f3d
xor ecx, ecx
cmp dword [esi + 0xc], ecx
je 0xa59b0b9
cmp edi, 0x20
jae 0xa59b046
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0xa59b017
xor ecx, ecx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
add dword [edx + 0x14], eax
add dword [esi + 0x20], eax
test byte [esi + 0xc], 4
mov dword [ebp - 0x24], eax
je 0xa59b089
test eax, eax
je 0xa59b089
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub eax, edx
push edx
push eax
push dword [esi + 0x1c]
cmp dword [esi + 0x14], ecx
je 0xa59b078
call fcn.0a59ba6d
jmp 0xa59b07d
call fcn.0a59b823
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test byte [esi + 0xc], 4
mov dword [ebp - 0x24], eax
je 0xa59b0af
cmp dword [esi + 0x14], ecx
mov eax, ebx
bswap eax
cmovne eax, ebx
cmp eax, dword [esi + 0x1c]
je 0xa59b0af
mov dword [edx + 0x18], 0xa4b41b0
jmp 0xa59b11a
mov ebx, ecx
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [esi + 4], 0x3f4f
cmp dword [esi + 0xc], 0
je 0xa59b161
xor ecx, ecx
cmp dword [esi + 0x14], ecx
je 0xa59b161
cmp edi, 0x20
jae 0xa59b108
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0xa59b176
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x14], edi
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], ebx
cmp edi, 0x20
jb 0xa59b0da
xor ecx, ecx
test byte [esi + 0xc], 4
je 0xa59b15d
cmp ebx, dword [esi + 0x20]
je 0xa59b15d
mov dword [edx + 0x18], 0xa4b41c8
mov dword [esi + 4], 0x3f51
mov eax, dword [esi + 4]
sub eax, 0x3f34
push 0x1f
pop ecx
cmp eax, ecx
jbe 0xa599e8f
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], edi
push 2
jmp 0xa59b136
mov ebx, ecx
mov edi, ecx
mov dword [esi + 4], 0x3f50
xor ecx, ecx
inc ecx
jmp 0xa59b170
push 0xfffffffffffffffd
pop ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esi + 0x3c], ebx
xor ebx, ebx
mov dword [esi + 0x40], edi
mov edi, dword [ebp - 0x24]
cmp dword [esi + 0x2c], ebx
jne 0xa59b1ba
cmp edi, dword [edx + 0x10]
je 0xa59b1e1
cmp dword [esi + 4], 0x3f51
jge 0xa59b1e1
cmp dword [esi + 4], 0x3f4e
jl 0xa59b1ba
cmp dword [ebp + 0xc], 4
je 0xa59b1e1
mov eax, edi
sub eax, dword [edx + 0x10]
push eax
push dword [edx + 0xc]
push edx
call fcn.0a59b570
add esp, 0xc
test eax, eax
je 0xa59b1de
mov dword [esi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0xa59b136
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
sub eax, dword [edx + 4]
sub edi, dword [edx + 0x10]
add dword [edx + 8], eax
add dword [edx + 0x14], edi
add dword [esi + 0x20], edi
test byte [esi + 0xc], 4
mov dword [ebp - 0x3c], eax
je 0xa59b227
test edi, edi
je 0xa59b227
mov eax, dword [edx + 0xc]
push edi
sub eax, edi
push eax
push dword [esi + 0x1c]
cmp dword [esi + 0x14], ebx
je 0xa59b216
call fcn.0a59ba6d
jmp 0xa59b21b
call fcn.0a59b823
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
cmp dword [esi + 4], 0x3f47
je 0xa59b239
cmp dword [esi + 4], 0x3f42
jne 0xa59b23e
mov ebx, 0x100
mov ecx, dword [esi + 8]
neg ecx
mov dword [ebp - 0x38], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [esi + 4], 0x3f3f
cmove eax, dword [ebp - 0x38]
add ecx, eax
add ecx, dword [esi + 0x40]
add ecx, ebx
cmp dword [ebp - 0x3c], 0
mov dword [edx + 0x2c], ecx
jne 0xa59b270
test edi, edi
je 0xa59b276
cmp dword [ebp + 0xc], 4
jne 0xa59b286
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0xa59b137
mov eax, dword [ebp - 0x28]
jmp 0xa59b137